published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Example Usage
data "rootly_user" "john" {
email = "demo@rootly.com"
}
data "rootly_user" "jane" {
email = "demo1@rootly.com"
}
data "rootly_alert_urgency" "low" {
name = "Low"
}
resource "rootly_team" "sre" {
name = "SREs On-Call"
user_ids = [data.rootly_user.john.id, data.rootly_user.jane.id]
}
resource "rootly_schedule" "primary" {
name = "Primary On-Call Schedule"
owner_user_id = data.rootly_user.john.id
all_time_coverage = false
}
resource "rootly_schedule_rotation" "weekdays" {
schedule_id = rootly_schedule.primary.id
name = "weekdays"
active_all_week = false
active_days = [
"M",
"T",
"W",
"R",
"F",
]
active_time_type = "custom"
position = 1
schedule_rotationable_attributes = {
handoff_time = "10:00"
}
schedule_rotationable_type = "ScheduleDailyRotation"
time_zone = "America/Toronto"
}
# Define active days for the weekday rotation
# Monday
resource "rootly_schedule_rotation_active_day" "m1-weekday" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
day_name = "M"
active_time_attributes {
start_time = "10:00"
end_time = "18:00"
}
}
# Tuesday
resource "rootly_schedule_rotation_active_day" "t1-weekday" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
day_name = "T"
active_time_attributes {
start_time = "10:00"
end_time = "18:00"
}
}
# Wednesday
resource "rootly_schedule_rotation_active_day" "w1-weekday" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
day_name = "W"
active_time_attributes {
start_time = "10:00"
end_time = "18:00"
}
}
# Thursday
resource "rootly_schedule_rotation_active_day" "th1-weekday" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
day_name = "R"
active_time_attributes {
start_time = "10:00"
end_time = "18:00"
}
}
# Friday
resource "rootly_schedule_rotation_active_day" "f1-weekday" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
day_name = "F"
active_time_attributes {
start_time = "10:00"
end_time = "18:00"
}
}
resource "rootly_schedule_rotation_user" "john" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
position = 1
user_id = data.rootly_user.john.id
}
resource "rootly_schedule_rotation_user" "jane" {
schedule_rotation_id = rootly_schedule_rotation.weekdays.id
position = 2
user_id = data.rootly_user.jane.id
}
resource "rootly_escalation_policy" "primary" {
name = "Primary"
group_ids = [rootly_team.sre.id]
}
resource "rootly_escalation_path" "default" {
name = "Default"
default = true
escalation_policy_id = rootly_escalation_policy.primary.id
}
resource "rootly_escalation_path" "ignore" {
name = "Ignore"
default = false
escalation_policy_id = rootly_escalation_policy.primary.id
rules {
rule_type = "alert_urgency"
urgency_ids = [data.rootly_alert_urgency.low.id]
}
}
resource "rootly_escalation_level" "first" {
escalation_policy_path_id = rootly_escalation_path.default.id
escalation_policy_id = rootly_escalation_policy.primary.id
position = 1
notification_target_params {
team_members = "all"
type = "slack_channel"
id = "C06D4QHLAUE"
}
notification_target_params {
type = "schedule"
id = rootly_schedule.primary.id
team_members = "all"
}
}
# cycle-based round-robin everyone on the schedule
resource "rootly_escalation_level" "second" {
escalation_policy_path_id = rootly_escalation_path.default.id
escalation_policy_id = rootly_escalation_policy.primary.id
position = 2
delay = 5
paging_strategy_configuration_strategy = "cycle"
paging_strategy_configuration_schedule_strategy = "everyone"
notification_target_params {
type = "schedule"
id = rootly_schedule.primary.id
team_members = "all"
}
}
Create ScheduleRotation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduleRotation(name: string, args: ScheduleRotationArgs, opts?: CustomResourceOptions);@overload
def ScheduleRotation(resource_name: str,
args: ScheduleRotationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduleRotation(resource_name: str,
opts: Optional[ResourceOptions] = None,
schedule_id: Optional[str] = None,
schedule_rotationable_attributes: Optional[Mapping[str, str]] = None,
active_time_type: Optional[str] = None,
active_all_week: Optional[bool] = None,
end_time: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None,
active_time_attributes: Optional[Sequence[ScheduleRotationActiveTimeAttributeArgs]] = None,
schedule_rotation_members: Optional[Sequence[ScheduleRotationScheduleRotationMemberArgs]] = None,
active_days: Optional[Sequence[str]] = None,
schedule_rotationable_type: Optional[str] = None,
start_time: Optional[str] = None,
time_zone: Optional[str] = None)func NewScheduleRotation(ctx *Context, name string, args ScheduleRotationArgs, opts ...ResourceOption) (*ScheduleRotation, error)public ScheduleRotation(string name, ScheduleRotationArgs args, CustomResourceOptions? opts = null)
public ScheduleRotation(String name, ScheduleRotationArgs args)
public ScheduleRotation(String name, ScheduleRotationArgs args, CustomResourceOptions options)
type: rootly:ScheduleRotation
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 ScheduleRotationArgs
- 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 ScheduleRotationArgs
- 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 ScheduleRotationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduleRotationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduleRotationArgs
- 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 scheduleRotationResource = new Rootly.ScheduleRotation("scheduleRotationResource", new()
{
ScheduleId = "string",
ScheduleRotationableAttributes =
{
{ "string", "string" },
},
ActiveTimeType = "string",
ActiveAllWeek = false,
EndTime = "string",
Name = "string",
Position = 0,
ActiveTimeAttributes = new[]
{
new Rootly.Inputs.ScheduleRotationActiveTimeAttributeArgs
{
EndTime = "string",
StartTime = "string",
},
},
ScheduleRotationMembers = new[]
{
new Rootly.Inputs.ScheduleRotationScheduleRotationMemberArgs
{
MemberId = "string",
MemberType = "string",
Position = 0,
},
},
ActiveDays = new[]
{
"string",
},
ScheduleRotationableType = "string",
StartTime = "string",
TimeZone = "string",
});
example, err := rootly.NewScheduleRotation(ctx, "scheduleRotationResource", &rootly.ScheduleRotationArgs{
ScheduleId: pulumi.String("string"),
ScheduleRotationableAttributes: pulumi.StringMap{
"string": pulumi.String("string"),
},
ActiveTimeType: pulumi.String("string"),
ActiveAllWeek: pulumi.Bool(false),
EndTime: pulumi.String("string"),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
ActiveTimeAttributes: rootly.ScheduleRotationActiveTimeAttributeArray{
&rootly.ScheduleRotationActiveTimeAttributeArgs{
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
ScheduleRotationMembers: rootly.ScheduleRotationScheduleRotationMemberArray{
&rootly.ScheduleRotationScheduleRotationMemberArgs{
MemberId: pulumi.String("string"),
MemberType: pulumi.String("string"),
Position: pulumi.Int(0),
},
},
ActiveDays: pulumi.StringArray{
pulumi.String("string"),
},
ScheduleRotationableType: pulumi.String("string"),
StartTime: pulumi.String("string"),
TimeZone: pulumi.String("string"),
})
var scheduleRotationResource = new ScheduleRotation("scheduleRotationResource", ScheduleRotationArgs.builder()
.scheduleId("string")
.scheduleRotationableAttributes(Map.of("string", "string"))
.activeTimeType("string")
.activeAllWeek(false)
.endTime("string")
.name("string")
.position(0)
.activeTimeAttributes(ScheduleRotationActiveTimeAttributeArgs.builder()
.endTime("string")
.startTime("string")
.build())
.scheduleRotationMembers(ScheduleRotationScheduleRotationMemberArgs.builder()
.memberId("string")
.memberType("string")
.position(0)
.build())
.activeDays("string")
.scheduleRotationableType("string")
.startTime("string")
.timeZone("string")
.build());
schedule_rotation_resource = rootly.ScheduleRotation("scheduleRotationResource",
schedule_id="string",
schedule_rotationable_attributes={
"string": "string",
},
active_time_type="string",
active_all_week=False,
end_time="string",
name="string",
position=0,
active_time_attributes=[{
"end_time": "string",
"start_time": "string",
}],
schedule_rotation_members=[{
"member_id": "string",
"member_type": "string",
"position": 0,
}],
active_days=["string"],
schedule_rotationable_type="string",
start_time="string",
time_zone="string")
const scheduleRotationResource = new rootly.ScheduleRotation("scheduleRotationResource", {
scheduleId: "string",
scheduleRotationableAttributes: {
string: "string",
},
activeTimeType: "string",
activeAllWeek: false,
endTime: "string",
name: "string",
position: 0,
activeTimeAttributes: [{
endTime: "string",
startTime: "string",
}],
scheduleRotationMembers: [{
memberId: "string",
memberType: "string",
position: 0,
}],
activeDays: ["string"],
scheduleRotationableType: "string",
startTime: "string",
timeZone: "string",
});
type: rootly:ScheduleRotation
properties:
activeAllWeek: false
activeDays:
- string
activeTimeAttributes:
- endTime: string
startTime: string
activeTimeType: string
endTime: string
name: string
position: 0
scheduleId: string
scheduleRotationMembers:
- memberId: string
memberType: string
position: 0
scheduleRotationableAttributes:
string: string
scheduleRotationableType: string
startTime: string
timeZone: string
ScheduleRotation 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 ScheduleRotation resource accepts the following input properties:
- Schedule
Id string - The ID of parent schedule
- Schedule
Rotationable Dictionary<string, string>Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- Active
All boolWeek - Schedule rotation active all week?. Value must be one of true or false
- Active
Days List<string> - Value must be one of
S,M,T,W,R,F,U. - Active
Time List<ScheduleAttributes Rotation Active Time Attribute> - Schedule rotation's active times
- Active
Time stringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - End
Time string - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- Name string
- The name of the schedule rotation
- Position int
- Position of the schedule rotation
- Schedule
Rotation List<ScheduleMembers Rotation Schedule Rotation Member> - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- Schedule
Rotationable stringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - Start
Time string - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- Time
Zone string - A valid IANA time zone name.
- Schedule
Id string - The ID of parent schedule
- Schedule
Rotationable map[string]stringAttributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- Active
All boolWeek - Schedule rotation active all week?. Value must be one of true or false
- Active
Days []string - Value must be one of
S,M,T,W,R,F,U. - Active
Time []ScheduleAttributes Rotation Active Time Attribute Args - Schedule rotation's active times
- Active
Time stringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - End
Time string - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- Name string
- The name of the schedule rotation
- Position int
- Position of the schedule rotation
- Schedule
Rotation []ScheduleMembers Rotation Schedule Rotation Member Args - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- Schedule
Rotationable stringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - Start
Time string - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- Time
Zone string - A valid IANA time zone name.
- schedule
Id String - The ID of parent schedule
- schedule
Rotationable Map<String,String>Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- active
All BooleanWeek - Schedule rotation active all week?. Value must be one of true or false
- active
Days List<String> - Value must be one of
S,M,T,W,R,F,U. - active
Time List<ScheduleAttributes Rotation Active Time Attribute> - Schedule rotation's active times
- active
Time StringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end
Time String - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name String
- The name of the schedule rotation
- position Integer
- Position of the schedule rotation
- schedule
Rotation List<ScheduleMembers Rotation Schedule Rotation Member> - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule
Rotationable StringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start
Time String - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time
Zone String - A valid IANA time zone name.
- schedule
Id string - The ID of parent schedule
- schedule
Rotationable {[key: string]: string}Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- active
All booleanWeek - Schedule rotation active all week?. Value must be one of true or false
- active
Days string[] - Value must be one of
S,M,T,W,R,F,U. - active
Time ScheduleAttributes Rotation Active Time Attribute[] - Schedule rotation's active times
- active
Time stringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end
Time string - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name string
- The name of the schedule rotation
- position number
- Position of the schedule rotation
- schedule
Rotation ScheduleMembers Rotation Schedule Rotation Member[] - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule
Rotationable stringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start
Time string - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time
Zone string - A valid IANA time zone name.
- schedule_
id str - The ID of parent schedule
- schedule_
rotationable_ Mapping[str, str]attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- active_
all_ boolweek - Schedule rotation active all week?. Value must be one of true or false
- active_
days Sequence[str] - Value must be one of
S,M,T,W,R,F,U. - active_
time_ Sequence[Scheduleattributes Rotation Active Time Attribute Args] - Schedule rotation's active times
- active_
time_ strtype - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end_
time str - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name str
- The name of the schedule rotation
- position int
- Position of the schedule rotation
- schedule_
rotation_ Sequence[Schedulemembers Rotation Schedule Rotation Member Args] - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule_
rotationable_ strtype - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start_
time str - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time_
zone str - A valid IANA time zone name.
- schedule
Id String - The ID of parent schedule
- schedule
Rotationable Map<String>Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- active
All BooleanWeek - Schedule rotation active all week?. Value must be one of true or false
- active
Days List<String> - Value must be one of
S,M,T,W,R,F,U. - active
Time List<Property Map>Attributes - Schedule rotation's active times
- active
Time StringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end
Time String - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name String
- The name of the schedule rotation
- position Number
- Position of the schedule rotation
- schedule
Rotation List<Property Map>Members - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule
Rotationable StringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start
Time String - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time
Zone String - A valid IANA time zone name.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduleRotation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScheduleRotation Resource
Get an existing ScheduleRotation 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?: ScheduleRotationState, opts?: CustomResourceOptions): ScheduleRotation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_all_week: Optional[bool] = None,
active_days: Optional[Sequence[str]] = None,
active_time_attributes: Optional[Sequence[ScheduleRotationActiveTimeAttributeArgs]] = None,
active_time_type: Optional[str] = None,
end_time: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None,
schedule_id: Optional[str] = None,
schedule_rotation_members: Optional[Sequence[ScheduleRotationScheduleRotationMemberArgs]] = None,
schedule_rotationable_attributes: Optional[Mapping[str, str]] = None,
schedule_rotationable_type: Optional[str] = None,
start_time: Optional[str] = None,
time_zone: Optional[str] = None) -> ScheduleRotationfunc GetScheduleRotation(ctx *Context, name string, id IDInput, state *ScheduleRotationState, opts ...ResourceOption) (*ScheduleRotation, error)public static ScheduleRotation Get(string name, Input<string> id, ScheduleRotationState? state, CustomResourceOptions? opts = null)public static ScheduleRotation get(String name, Output<String> id, ScheduleRotationState state, CustomResourceOptions options)resources: _: type: rootly:ScheduleRotation 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.
- Active
All boolWeek - Schedule rotation active all week?. Value must be one of true or false
- Active
Days List<string> - Value must be one of
S,M,T,W,R,F,U. - Active
Time List<ScheduleAttributes Rotation Active Time Attribute> - Schedule rotation's active times
- Active
Time stringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - End
Time string - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- Name string
- The name of the schedule rotation
- Position int
- Position of the schedule rotation
- Schedule
Id string - The ID of parent schedule
- Schedule
Rotation List<ScheduleMembers Rotation Schedule Rotation Member> - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- Schedule
Rotationable Dictionary<string, string>Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- Schedule
Rotationable stringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - Start
Time string - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- Time
Zone string - A valid IANA time zone name.
- Active
All boolWeek - Schedule rotation active all week?. Value must be one of true or false
- Active
Days []string - Value must be one of
S,M,T,W,R,F,U. - Active
Time []ScheduleAttributes Rotation Active Time Attribute Args - Schedule rotation's active times
- Active
Time stringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - End
Time string - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- Name string
- The name of the schedule rotation
- Position int
- Position of the schedule rotation
- Schedule
Id string - The ID of parent schedule
- Schedule
Rotation []ScheduleMembers Rotation Schedule Rotation Member Args - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- Schedule
Rotationable map[string]stringAttributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- Schedule
Rotationable stringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - Start
Time string - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- Time
Zone string - A valid IANA time zone name.
- active
All BooleanWeek - Schedule rotation active all week?. Value must be one of true or false
- active
Days List<String> - Value must be one of
S,M,T,W,R,F,U. - active
Time List<ScheduleAttributes Rotation Active Time Attribute> - Schedule rotation's active times
- active
Time StringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end
Time String - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name String
- The name of the schedule rotation
- position Integer
- Position of the schedule rotation
- schedule
Id String - The ID of parent schedule
- schedule
Rotation List<ScheduleMembers Rotation Schedule Rotation Member> - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule
Rotationable Map<String,String>Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- schedule
Rotationable StringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start
Time String - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time
Zone String - A valid IANA time zone name.
- active
All booleanWeek - Schedule rotation active all week?. Value must be one of true or false
- active
Days string[] - Value must be one of
S,M,T,W,R,F,U. - active
Time ScheduleAttributes Rotation Active Time Attribute[] - Schedule rotation's active times
- active
Time stringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end
Time string - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name string
- The name of the schedule rotation
- position number
- Position of the schedule rotation
- schedule
Id string - The ID of parent schedule
- schedule
Rotation ScheduleMembers Rotation Schedule Rotation Member[] - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule
Rotationable {[key: string]: string}Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- schedule
Rotationable stringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start
Time string - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time
Zone string - A valid IANA time zone name.
- active_
all_ boolweek - Schedule rotation active all week?. Value must be one of true or false
- active_
days Sequence[str] - Value must be one of
S,M,T,W,R,F,U. - active_
time_ Sequence[Scheduleattributes Rotation Active Time Attribute Args] - Schedule rotation's active times
- active_
time_ strtype - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end_
time str - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name str
- The name of the schedule rotation
- position int
- Position of the schedule rotation
- schedule_
id str - The ID of parent schedule
- schedule_
rotation_ Sequence[Schedulemembers Rotation Schedule Rotation Member Args] - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule_
rotationable_ Mapping[str, str]attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- schedule_
rotationable_ strtype - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start_
time str - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time_
zone str - A valid IANA time zone name.
- active
All BooleanWeek - Schedule rotation active all week?. Value must be one of true or false
- active
Days List<String> - Value must be one of
S,M,T,W,R,F,U. - active
Time List<Property Map>Attributes - Schedule rotation's active times
- active
Time StringType - Value must be one of
allDay,sameTime, orcustom. The value chosen will overrideactiveTimeAttributesin anyrootly.ScheduleRotationActiveDayresources linked to thisrootly.ScheduleRotation. - end
Time String - ISO8601 date and time when rotation ends. Shifts will only be created before this time.
- name String
- The name of the schedule rotation
- position Number
- Position of the schedule rotation
- schedule
Id String - The ID of parent schedule
- schedule
Rotation List<Property Map>Members - Schedule rotation members. You can only add schedule rotation members if your account has schedule nesting feature enabled.
- schedule
Rotationable Map<String>Attributes - handofftime and/or handoffday may be required, depending on schedulerotationabletype. Please see API docs for options based on schedulerotationabletype: https://docs.rootly.com/api-reference/schedulerotations/creates-a-schedule-rotation#response-data-attributes-schedule-rotationable-attributes
- schedule
Rotationable StringType - Schedule rotation type. Value must be one of
ScheduleDailyRotation,ScheduleWeeklyRotation,ScheduleBiweeklyRotation,ScheduleMonthlyRotation,ScheduleCustomRotation. - start
Time String - ISO8601 date and time when rotation starts. Shifts will only be created after this time.
- time
Zone String - A valid IANA time zone name.
Supporting Types
ScheduleRotationActiveTimeAttribute, ScheduleRotationActiveTimeAttributeArgs
- end_
time str - End time for schedule rotation active time
- start_
time str - Start time for schedule rotation active time
ScheduleRotationScheduleRotationMember, ScheduleRotationScheduleRotationMemberArgs
- Member
Id string - ID of the member
- Member
Type string - Type of member. Value must be one of
ScheduleorUser. - Position int
- Position of the member in rotation
- Member
Id string - ID of the member
- Member
Type string - Type of member. Value must be one of
ScheduleorUser. - Position int
- Position of the member in rotation
- member
Id String - ID of the member
- member
Type String - Type of member. Value must be one of
ScheduleorUser. - position Integer
- Position of the member in rotation
- member
Id string - ID of the member
- member
Type string - Type of member. Value must be one of
ScheduleorUser. - position number
- Position of the member in rotation
- member_
id str - ID of the member
- member_
type str - Type of member. Value must be one of
ScheduleorUser. - position int
- Position of the member in rotation
- member
Id String - ID of the member
- member
Type String - Type of member. Value must be one of
ScheduleorUser. - position Number
- Position of the member in rotation
Import
rootly.ScheduleRotation can be imported using the import command.
$ pulumi import rootly:index/scheduleRotation:ScheduleRotation primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, May 7, 2026 by rootlyhq
