published on Friday, Sep 11, 2026 by incident-io
published on Friday, Sep 11, 2026 by incident-io
incident.ScheduleRotationBeta was renamed to incident.ScheduleRotation in v7.0.
This name still works and still manages the same thing, so upgrading to v7 needs no change to a configuration that uses it. It is deprecated: every plan naming it warns, and it will be removed in v8.0.
To move onto the new name:
import * as pulumi from "@pulumi/pulumi";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
}
}
{}
Example coming soon!
Both names are the same resource, backed by the same schema and the same API, so the move
carries your state across and the plan after it is empty. See incident.ScheduleRotation for the
documentation.
Create ScheduleRotationBeta Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduleRotationBeta(name: string, args: ScheduleRotationBetaArgs, opts?: CustomResourceOptions);@overload
def ScheduleRotationBeta(resource_name: str,
args: ScheduleRotationBetaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduleRotationBeta(resource_name: str,
opts: Optional[ResourceOptions] = None,
first_interval_starts_at: Optional[str] = None,
handovers: Optional[Sequence[ScheduleRotationBetaHandoverArgs]] = None,
schedule_id: Optional[str] = None,
users: Optional[Sequence[str]] = None,
concurrent_shifts: Optional[float] = None,
name: Optional[str] = None,
rank: Optional[float] = None,
rollout: Optional[str] = None,
scheduling_mode: Optional[str] = None,
working_intervals: Optional[Sequence[ScheduleRotationBetaWorkingIntervalArgs]] = None)func NewScheduleRotationBeta(ctx *Context, name string, args ScheduleRotationBetaArgs, opts ...ResourceOption) (*ScheduleRotationBeta, error)public ScheduleRotationBeta(string name, ScheduleRotationBetaArgs args, CustomResourceOptions? opts = null)
public ScheduleRotationBeta(String name, ScheduleRotationBetaArgs args)
public ScheduleRotationBeta(String name, ScheduleRotationBetaArgs args, CustomResourceOptions options)
type: incident:ScheduleRotationBeta
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "incident_schedule_rotation_beta" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ScheduleRotationBetaArgs
- 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 ScheduleRotationBetaArgs
- 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 ScheduleRotationBetaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduleRotationBetaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduleRotationBetaArgs
- 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 scheduleRotationBetaResource = new Incident.ScheduleRotationBeta("scheduleRotationBetaResource", new()
{
FirstIntervalStartsAt = "string",
Handovers = new[]
{
new Incident.Inputs.ScheduleRotationBetaHandoverArgs
{
Interval = 0.0,
IntervalType = "string",
},
},
ScheduleId = "string",
Users = new[]
{
"string",
},
ConcurrentShifts = 0.0,
Name = "string",
Rank = 0.0,
Rollout = "string",
SchedulingMode = "string",
WorkingIntervals = new[]
{
new Incident.Inputs.ScheduleRotationBetaWorkingIntervalArgs
{
EndTime = "string",
StartTime = "string",
Weekday = "string",
},
},
});
example, err := incident.NewScheduleRotationBeta(ctx, "scheduleRotationBetaResource", &incident.ScheduleRotationBetaArgs{
FirstIntervalStartsAt: pulumi.String("string"),
Handovers: incident.ScheduleRotationBetaHandoverArray{
&incident.ScheduleRotationBetaHandoverArgs{
Interval: pulumi.Float64(0),
IntervalType: pulumi.String("string"),
},
},
ScheduleId: pulumi.String("string"),
Users: pulumi.StringArray{
pulumi.String("string"),
},
ConcurrentShifts: pulumi.Float64(0),
Name: pulumi.String("string"),
Rank: pulumi.Float64(0),
Rollout: pulumi.String("string"),
SchedulingMode: pulumi.String("string"),
WorkingIntervals: incident.ScheduleRotationBetaWorkingIntervalArray{
&incident.ScheduleRotationBetaWorkingIntervalArgs{
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
Weekday: pulumi.String("string"),
},
},
})
resource "incident_schedule_rotation_beta" "scheduleRotationBetaResource" {
lifecycle {
create_before_destroy = true
}
first_interval_starts_at = "string"
handovers {
interval = 0
interval_type = "string"
}
schedule_id = "string"
users = ["string"]
concurrent_shifts = 0
name = "string"
rank = 0
rollout = "string"
scheduling_mode = "string"
working_intervals {
end_time = "string"
start_time = "string"
weekday = "string"
}
}
var scheduleRotationBetaResource = new ScheduleRotationBeta("scheduleRotationBetaResource", ScheduleRotationBetaArgs.builder()
.firstIntervalStartsAt("string")
.handovers(ScheduleRotationBetaHandoverArgs.builder()
.interval(0.0)
.intervalType("string")
.build())
.scheduleId("string")
.users("string")
.concurrentShifts(0.0)
.name("string")
.rank(0.0)
.rollout("string")
.schedulingMode("string")
.workingIntervals(ScheduleRotationBetaWorkingIntervalArgs.builder()
.endTime("string")
.startTime("string")
.weekday("string")
.build())
.build());
schedule_rotation_beta_resource = incident.ScheduleRotationBeta("scheduleRotationBetaResource",
first_interval_starts_at="string",
handovers=[{
"interval": float(0),
"interval_type": "string",
}],
schedule_id="string",
users=["string"],
concurrent_shifts=float(0),
name="string",
rank=float(0),
rollout="string",
scheduling_mode="string",
working_intervals=[{
"end_time": "string",
"start_time": "string",
"weekday": "string",
}])
const scheduleRotationBetaResource = new incident.ScheduleRotationBeta("scheduleRotationBetaResource", {
firstIntervalStartsAt: "string",
handovers: [{
interval: 0,
intervalType: "string",
}],
scheduleId: "string",
users: ["string"],
concurrentShifts: 0,
name: "string",
rank: 0,
rollout: "string",
schedulingMode: "string",
workingIntervals: [{
endTime: "string",
startTime: "string",
weekday: "string",
}],
});
type: incident:ScheduleRotationBeta
properties:
concurrentShifts: 0
firstIntervalStartsAt: string
handovers:
- interval: 0
intervalType: string
name: string
rank: 0
rollout: string
scheduleId: string
schedulingMode: string
users:
- string
workingIntervals:
- endTime: string
startTime: string
weekday: string
ScheduleRotationBeta 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 ScheduleRotationBeta resource accepts the following input properties:
- First
Interval stringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - Handovers
List<Schedule
Rotation Beta Handover> - The cadence shifts hand over on, applied in turn
- Schedule
Id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- Users List<string>
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - Concurrent
Shifts double - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- Name string
- Human readable name for the rotation, unique within the schedule
- Rank double
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- Rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - Scheduling
Mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - Working
Intervals List<ScheduleRotation Beta Working Interval> - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- First
Interval stringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - Handovers
[]Schedule
Rotation Beta Handover Args - The cadence shifts hand over on, applied in turn
- Schedule
Id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- Users []string
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - Concurrent
Shifts float64 - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- Name string
- Human readable name for the rotation, unique within the schedule
- Rank float64
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- Rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - Scheduling
Mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - Working
Intervals []ScheduleRotation Beta Working Interval Args - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- first_
interval_ stringstarts_ at - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers list(object)
- The cadence shifts hand over on, applied in turn
- schedule_
id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- users list(string)
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - concurrent_
shifts number - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- name string
- Human readable name for the rotation, unique within the schedule
- rank number
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - scheduling_
mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - working_
intervals list(object) - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- first
Interval StringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers
List<Schedule
Rotation Beta Handover> - The cadence shifts hand over on, applied in turn
- schedule
Id String - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- users List<String>
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - concurrent
Shifts Double - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- name String
- Human readable name for the rotation, unique within the schedule
- rank Double
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout String
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - scheduling
Mode String - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - working
Intervals List<ScheduleRotation Beta Working Interval> - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- first
Interval stringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers
Schedule
Rotation Beta Handover[] - The cadence shifts hand over on, applied in turn
- schedule
Id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- users string[]
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - concurrent
Shifts number - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- name string
- Human readable name for the rotation, unique within the schedule
- rank number
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - scheduling
Mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - working
Intervals ScheduleRotation Beta Working Interval[] - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- first_
interval_ strstarts_ at - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers
Sequence[Schedule
Rotation Beta Handover Args] - The cadence shifts hand over on, applied in turn
- schedule_
id str - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- users Sequence[str]
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - concurrent_
shifts float - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- name str
- Human readable name for the rotation, unique within the schedule
- rank float
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout str
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - scheduling_
mode str - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - working_
intervals Sequence[ScheduleRotation Beta Working Interval Args] - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- first
Interval StringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers List<Property Map>
- The cadence shifts hand over on, applied in turn
- schedule
Id String - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- users List<String>
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - concurrent
Shifts Number - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- name String
- Human readable name for the rotation, unique within the schedule
- rank Number
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout String
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - scheduling
Mode String - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - working
Intervals List<Property Map> - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduleRotationBeta resource produces the following output properties:
- Effective
From string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- Id string
- The provider-assigned unique ID for this managed resource.
- Effective
From string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- Id string
- The provider-assigned unique ID for this managed resource.
- effective_
from string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- id string
- The provider-assigned unique ID for this managed resource.
- effective
From String - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- id String
- The provider-assigned unique ID for this managed resource.
- effective
From string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- id string
- The provider-assigned unique ID for this managed resource.
- effective_
from str - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- id str
- The provider-assigned unique ID for this managed resource.
- effective
From String - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScheduleRotationBeta Resource
Get an existing ScheduleRotationBeta 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?: ScheduleRotationBetaState, opts?: CustomResourceOptions): ScheduleRotationBeta@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
concurrent_shifts: Optional[float] = None,
effective_from: Optional[str] = None,
first_interval_starts_at: Optional[str] = None,
handovers: Optional[Sequence[ScheduleRotationBetaHandoverArgs]] = None,
name: Optional[str] = None,
rank: Optional[float] = None,
rollout: Optional[str] = None,
schedule_id: Optional[str] = None,
scheduling_mode: Optional[str] = None,
users: Optional[Sequence[str]] = None,
working_intervals: Optional[Sequence[ScheduleRotationBetaWorkingIntervalArgs]] = None) -> ScheduleRotationBetafunc GetScheduleRotationBeta(ctx *Context, name string, id IDInput, state *ScheduleRotationBetaState, opts ...ResourceOption) (*ScheduleRotationBeta, error)public static ScheduleRotationBeta Get(string name, Input<string> id, ScheduleRotationBetaState? state, CustomResourceOptions? opts = null)public static ScheduleRotationBeta get(String name, Output<String> id, ScheduleRotationBetaState state, CustomResourceOptions options)resources: _: type: incident:ScheduleRotationBeta get: id: ${id}import {
to = incident_schedule_rotation_beta.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.
- Concurrent
Shifts double - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- Effective
From string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- First
Interval stringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - Handovers
List<Schedule
Rotation Beta Handover> - The cadence shifts hand over on, applied in turn
- Name string
- Human readable name for the rotation, unique within the schedule
- Rank double
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- Rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - Schedule
Id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- Scheduling
Mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - Users List<string>
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - Working
Intervals List<ScheduleRotation Beta Working Interval> - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- Concurrent
Shifts float64 - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- Effective
From string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- First
Interval stringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - Handovers
[]Schedule
Rotation Beta Handover Args - The cadence shifts hand over on, applied in turn
- Name string
- Human readable name for the rotation, unique within the schedule
- Rank float64
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- Rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - Schedule
Id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- Scheduling
Mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - Users []string
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - Working
Intervals []ScheduleRotation Beta Working Interval Args - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- concurrent_
shifts number - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- effective_
from string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- first_
interval_ stringstarts_ at - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers list(object)
- The cadence shifts hand over on, applied in turn
- name string
- Human readable name for the rotation, unique within the schedule
- rank number
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - schedule_
id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- scheduling_
mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - users list(string)
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - working_
intervals list(object) - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- concurrent
Shifts Double - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- effective
From String - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- first
Interval StringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers
List<Schedule
Rotation Beta Handover> - The cadence shifts hand over on, applied in turn
- name String
- Human readable name for the rotation, unique within the schedule
- rank Double
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout String
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - schedule
Id String - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- scheduling
Mode String - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - users List<String>
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - working
Intervals List<ScheduleRotation Beta Working Interval> - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- concurrent
Shifts number - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- effective
From string - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- first
Interval stringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers
Schedule
Rotation Beta Handover[] - The cadence shifts hand over on, applied in turn
- name string
- Human readable name for the rotation, unique within the schedule
- rank number
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout string
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - schedule
Id string - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- scheduling
Mode string - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - users string[]
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - working
Intervals ScheduleRotation Beta Working Interval[] - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- concurrent_
shifts float - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- effective_
from str - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- first_
interval_ strstarts_ at - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers
Sequence[Schedule
Rotation Beta Handover Args] - The cadence shifts hand over on, applied in turn
- name str
- Human readable name for the rotation, unique within the schedule
- rank float
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout str
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - schedule_
id str - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- scheduling_
mode str - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - users Sequence[str]
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - working_
intervals Sequence[ScheduleRotation Beta Working Interval Args] - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
- concurrent
Shifts Number - How many shifts run at the same time, which is how many people are on call at once. Defaults to 1, one person on call at a time. Reducing this stops scheduling the last of them, and stops any overrides on those shifts from applying.
- effective
From String - When this shape of the rotation took over. Unset when the rotation has only ever had one.
- first
Interval StringStarts At - When the first handover interval starts being counted from, which fixes the time of day and day of week shifts change hands. The dashboard calls this the handover time.. Can't be changed in the same apply as
rollout— see the resource description for why, and what to do instead. - handovers List<Property Map>
- The cadence shifts hand over on, applied in turn
- name String
- Human readable name for the rotation, unique within the schedule
- rank Number
- Where this rotation sits in the schedule's running order, lowest first. Unset when it has never been ordered.
- rollout String
- How a change to this rotation is introduced:
immediatereplaces the line-up now and can change who is on call this minute,after_current_shiftlets the shift on call finish first, andafter_full_rotationwaits for everyone to have taken a turn. Leave it out to replace the line-up straight away. Creating a rotation ignores it, as there's no shift to protect yet. - schedule
Id String - ID of the schedule this rotation belongs to. Changing this replaces the rotation, as a rotation can't move between schedules.
- scheduling
Mode String - How users are allocated across shifts of differing length. Possible values are:
fair,sequential. Omit it to leave us to pick. For an even rotation the two behave identically — see the resource description for when they diverge. - users List<String>
- IDs of the people in the rotation, in the order they take shifts. Use the special ID
NOBODYfor a slot with nobody in it, which schedules the shift without putting anyone on call until an override covers it. - working
Intervals List<Property Map> - If set, restricts on-call to these weekday intervals. Omit it to keep the rotation on call around the clock. An empty list is not valid, and is rejected at plan time — it would leave a rotation nobody is ever on call for.
Supporting Types
ScheduleRotationBetaHandover, ScheduleRotationBetaHandoverArgs
- Interval double
- How many of the interval type to wait between handovers.
- Interval
Type string - How often a handover occurs. Possible values are:
hourly,daily,weekly.
- Interval float64
- How many of the interval type to wait between handovers.
- Interval
Type string - How often a handover occurs. Possible values are:
hourly,daily,weekly.
- interval number
- How many of the interval type to wait between handovers.
- interval_
type string - How often a handover occurs. Possible values are:
hourly,daily,weekly.
- interval Double
- How many of the interval type to wait between handovers.
- interval
Type String - How often a handover occurs. Possible values are:
hourly,daily,weekly.
- interval number
- How many of the interval type to wait between handovers.
- interval
Type string - How often a handover occurs. Possible values are:
hourly,daily,weekly.
- interval float
- How many of the interval type to wait between handovers.
- interval_
type str - How often a handover occurs. Possible values are:
hourly,daily,weekly.
- interval Number
- How many of the interval type to wait between handovers.
- interval
Type String - How often a handover occurs. Possible values are:
hourly,daily,weekly.
ScheduleRotationBetaWorkingInterval, ScheduleRotationBetaWorkingIntervalArgs
- end_
time string - Time of day this window closes, as HH:MM.
- start_
time string - Time of day this window opens, as HH:MM.
- weekday string
- Day of the week, lowercase. Possible values are:
monday,tuesday,wednesday,thursday,friday,saturday,sunday.
- end_
time str - Time of day this window closes, as HH:MM.
- start_
time str - Time of day this window opens, as HH:MM.
- weekday str
- Day of the week, lowercase. Possible values are:
monday,tuesday,wednesday,thursday,friday,saturday,sunday.
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
published on Friday, Sep 11, 2026 by incident-io