opsgenie.ScheduleRotation
Explore with Pulumi AI
Manages a Schedule Rotation within Opsgenie.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opsgenie = Pulumi.Opsgenie;
return await Deployment.RunAsync(() =>
{
var test = new Opsgenie.ScheduleRotation("test", new()
{
EndDate = "2019-06-20T17:30:00Z",
Length = 6,
Participants = new[]
{
new Opsgenie.Inputs.ScheduleRotationParticipantArgs
{
Id = opsgenie_user.Test.Id,
Type = "user",
},
},
ScheduleId = opsgenie_schedule.Test.Id,
StartDate = "2019-06-18T17:00:00Z",
TimeRestrictions = new[]
{
new Opsgenie.Inputs.ScheduleRotationTimeRestrictionArgs
{
Restriction = new[]
{
new Opsgenie.Inputs.ScheduleRotationTimeRestrictionRestrictionArgs
{
EndHour = 10,
EndMin = 1,
StartHour = 1,
StartMin = 1,
},
},
Type = "time-of-day",
},
},
Type = "hourly",
});
});
package main
import (
"github.com/pulumi/pulumi-opsgenie/sdk/go/opsgenie"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opsgenie.NewScheduleRotation(ctx, "test", &opsgenie.ScheduleRotationArgs{
EndDate: pulumi.String("2019-06-20T17:30:00Z"),
Length: pulumi.Int(6),
Participants: opsgenie.ScheduleRotationParticipantArray{
&opsgenie.ScheduleRotationParticipantArgs{
Id: pulumi.Any(opsgenie_user.Test.Id),
Type: pulumi.String("user"),
},
},
ScheduleId: pulumi.Any(opsgenie_schedule.Test.Id),
StartDate: pulumi.String("2019-06-18T17:00:00Z"),
TimeRestrictions: opsgenie.ScheduleRotationTimeRestrictionArray{
&opsgenie.ScheduleRotationTimeRestrictionArgs{
Restriction: opsgenie.ScheduleRotationTimeRestrictionRestrictionArray{
&opsgenie.ScheduleRotationTimeRestrictionRestrictionArgs{
EndHour: pulumi.Int(10),
EndMin: pulumi.Int(1),
StartHour: pulumi.Int(1),
StartMin: pulumi.Int(1),
},
},
Type: pulumi.String("time-of-day"),
},
},
Type: pulumi.String("hourly"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opsgenie.ScheduleRotation;
import com.pulumi.opsgenie.ScheduleRotationArgs;
import com.pulumi.opsgenie.inputs.ScheduleRotationParticipantArgs;
import com.pulumi.opsgenie.inputs.ScheduleRotationTimeRestrictionArgs;
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) {
var test = new ScheduleRotation("test", ScheduleRotationArgs.builder()
.endDate("2019-06-20T17:30:00Z")
.length(6)
.participants(ScheduleRotationParticipantArgs.builder()
.id(opsgenie_user.test().id())
.type("user")
.build())
.scheduleId(opsgenie_schedule.test().id())
.startDate("2019-06-18T17:00:00Z")
.timeRestrictions(ScheduleRotationTimeRestrictionArgs.builder()
.restriction(ScheduleRotationTimeRestrictionRestrictionArgs.builder()
.endHour(10)
.endMin(1)
.startHour(1)
.startMin(1)
.build())
.type("time-of-day")
.build())
.type("hourly")
.build());
}
}
import pulumi
import pulumi_opsgenie as opsgenie
test = opsgenie.ScheduleRotation("test",
end_date="2019-06-20T17:30:00Z",
length=6,
participants=[opsgenie.ScheduleRotationParticipantArgs(
id=opsgenie_user["test"]["id"],
type="user",
)],
schedule_id=opsgenie_schedule["test"]["id"],
start_date="2019-06-18T17:00:00Z",
time_restrictions=[opsgenie.ScheduleRotationTimeRestrictionArgs(
restriction=[opsgenie.ScheduleRotationTimeRestrictionRestrictionArgs(
end_hour=10,
end_min=1,
start_hour=1,
start_min=1,
)],
type="time-of-day",
)],
type="hourly")
import * as pulumi from "@pulumi/pulumi";
import * as opsgenie from "@pulumi/opsgenie";
const test = new opsgenie.ScheduleRotation("test", {
endDate: "2019-06-20T17:30:00Z",
length: 6,
participants: [{
id: opsgenie_user.test.id,
type: "user",
}],
scheduleId: opsgenie_schedule.test.id,
startDate: "2019-06-18T17:00:00Z",
timeRestrictions: [{
restriction: [{
endHour: 10,
endMin: 1,
startHour: 1,
startMin: 1,
}],
type: "time-of-day",
}],
type: "hourly",
});
resources:
test:
type: opsgenie:ScheduleRotation
properties:
endDate: 2019-06-20T17:30:00Z
length: 6
participants:
- id: ${opsgenie_user.test.id}
type: user
scheduleId: ${opsgenie_schedule.test.id}
startDate: 2019-06-18T17:00:00Z
timeRestrictions:
- restriction:
- endHour: 10
endMin: 1
startHour: 1
startMin: 1
type: time-of-day
type: hourly
Create ScheduleRotation Resource
new ScheduleRotation(name: string, args: ScheduleRotationArgs, opts?: CustomResourceOptions);
@overload
def ScheduleRotation(resource_name: str,
opts: Optional[ResourceOptions] = None,
end_date: Optional[str] = None,
length: Optional[int] = None,
name: Optional[str] = None,
participants: Optional[Sequence[ScheduleRotationParticipantArgs]] = None,
schedule_id: Optional[str] = None,
start_date: Optional[str] = None,
time_restrictions: Optional[Sequence[ScheduleRotationTimeRestrictionArgs]] = None,
type: Optional[str] = None)
@overload
def ScheduleRotation(resource_name: str,
args: ScheduleRotationArgs,
opts: Optional[ResourceOptions] = 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: opsgenie:ScheduleRotation
properties: # The arguments to resource properties.
options: # 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.
- 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.
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
The ScheduleRotation resource accepts the following input properties:
- Participants
List<Schedule
Rotation Participant> List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- Schedule
Id string Identifier of the schedule.
- Start
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Type string
Type of rotation. May be one of daily, weekly and hourly.
- End
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Length int
Length of the rotation with default value 1.
- Name string
Name of rotation.
- Time
Restrictions List<ScheduleRotation Time Restriction>
- Participants
[]Schedule
Rotation Participant Args List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- Schedule
Id string Identifier of the schedule.
- Start
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Type string
Type of rotation. May be one of daily, weekly and hourly.
- End
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Length int
Length of the rotation with default value 1.
- Name string
Name of rotation.
- Time
Restrictions []ScheduleRotation Time Restriction Args
- participants
List<Schedule
Rotation Participant> List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule
Id String Identifier of the schedule.
- start
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- type String
Type of rotation. May be one of daily, weekly and hourly.
- end
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length Integer
Length of the rotation with default value 1.
- name String
Name of rotation.
- time
Restrictions List<ScheduleRotation Time Restriction>
- participants
Schedule
Rotation Participant[] List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule
Id string Identifier of the schedule.
- start
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- type string
Type of rotation. May be one of daily, weekly and hourly.
- end
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length number
Length of the rotation with default value 1.
- name string
Name of rotation.
- time
Restrictions ScheduleRotation Time Restriction[]
- participants
Sequence[Schedule
Rotation Participant Args] List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule_
id str Identifier of the schedule.
- start_
date str This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- type str
Type of rotation. May be one of daily, weekly and hourly.
- end_
date str This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length int
Length of the rotation with default value 1.
- name str
Name of rotation.
- time_
restrictions Sequence[ScheduleRotation Time Restriction Args]
- participants List<Property Map>
List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule
Id String Identifier of the schedule.
- start
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- type String
Type of rotation. May be one of daily, weekly and hourly.
- end
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length Number
Length of the rotation with default value 1.
- name String
Name of rotation.
- time
Restrictions List<Property Map>
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,
end_date: Optional[str] = None,
length: Optional[int] = None,
name: Optional[str] = None,
participants: Optional[Sequence[ScheduleRotationParticipantArgs]] = None,
schedule_id: Optional[str] = None,
start_date: Optional[str] = None,
time_restrictions: Optional[Sequence[ScheduleRotationTimeRestrictionArgs]] = None,
type: Optional[str] = None) -> ScheduleRotation
func 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)
Resource lookup is not supported in YAML
- 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.
- End
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Length int
Length of the rotation with default value 1.
- Name string
Name of rotation.
- Participants
List<Schedule
Rotation Participant> List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- Schedule
Id string Identifier of the schedule.
- Start
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Time
Restrictions List<ScheduleRotation Time Restriction> - Type string
Type of rotation. May be one of daily, weekly and hourly.
- End
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Length int
Length of the rotation with default value 1.
- Name string
Name of rotation.
- Participants
[]Schedule
Rotation Participant Args List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- Schedule
Id string Identifier of the schedule.
- Start
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- Time
Restrictions []ScheduleRotation Time Restriction Args - Type string
Type of rotation. May be one of daily, weekly and hourly.
- end
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length Integer
Length of the rotation with default value 1.
- name String
Name of rotation.
- participants
List<Schedule
Rotation Participant> List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule
Id String Identifier of the schedule.
- start
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- time
Restrictions List<ScheduleRotation Time Restriction> - type String
Type of rotation. May be one of daily, weekly and hourly.
- end
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length number
Length of the rotation with default value 1.
- name string
Name of rotation.
- participants
Schedule
Rotation Participant[] List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule
Id string Identifier of the schedule.
- start
Date string This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- time
Restrictions ScheduleRotation Time Restriction[] - type string
Type of rotation. May be one of daily, weekly and hourly.
- end_
date str This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length int
Length of the rotation with default value 1.
- name str
Name of rotation.
- participants
Sequence[Schedule
Rotation Participant Args] List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule_
id str Identifier of the schedule.
- start_
date str This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- time_
restrictions Sequence[ScheduleRotation Time Restriction Args] - type str
Type of rotation. May be one of daily, weekly and hourly.
- end
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- length Number
Length of the rotation with default value 1.
- name String
Name of rotation.
- participants List<Property Map>
List of escalations, teams, users or the reserved word none which will be used in schedule. Each of them can be used multiple times and will be rotated in the order they given. "user,escalation,team,none"
- schedule
Id String Identifier of the schedule.
- start
Date String This parameter takes a date format as (yyyy-MM-dd'T'HH:mm:ssZ) (e.g. 2019-06-11T08:00:00+02:00). Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically
- time
Restrictions List<Property Map> - type String
Type of rotation. May be one of daily, weekly and hourly.
Supporting Types
ScheduleRotationParticipant, ScheduleRotationParticipantArgs
ScheduleRotationTimeRestriction, ScheduleRotationTimeRestrictionArgs
- Type string
This parameter should be set to
time-of-day
orweekday-and-time-of-day
.- Restriction
List<Schedule
Rotation Time Restriction Restriction> It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is
time-of-day
.- Restriction
List List<ScheduleRotation Time Restriction Restriction List> It is a restriction object which is described below. This can be used only if time restriction type is
weekday-and-time-of-day
.
- Type string
This parameter should be set to
time-of-day
orweekday-and-time-of-day
.- Restriction
[]Schedule
Rotation Time Restriction Restriction It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is
time-of-day
.- Restriction
List []ScheduleRotation Time Restriction Restriction List It is a restriction object which is described below. This can be used only if time restriction type is
weekday-and-time-of-day
.
- type String
This parameter should be set to
time-of-day
orweekday-and-time-of-day
.- restriction
List<Schedule
Rotation Time Restriction Restriction> It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is
time-of-day
.- restriction
List List<ScheduleRotation Time Restriction Restriction List> It is a restriction object which is described below. This can be used only if time restriction type is
weekday-and-time-of-day
.
- type string
This parameter should be set to
time-of-day
orweekday-and-time-of-day
.- restriction
Schedule
Rotation Time Restriction Restriction[] It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is
time-of-day
.- restriction
List ScheduleRotation Time Restriction Restriction List[] It is a restriction object which is described below. This can be used only if time restriction type is
weekday-and-time-of-day
.
- type str
This parameter should be set to
time-of-day
orweekday-and-time-of-day
.- restriction
Sequence[Schedule
Rotation Time Restriction Restriction] It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is
time-of-day
.- restriction_
list Sequence[ScheduleRotation Time Restriction Restriction List] It is a restriction object which is described below. This can be used only if time restriction type is
weekday-and-time-of-day
.
- type String
This parameter should be set to
time-of-day
orweekday-and-time-of-day
.- restriction List<Property Map>
It is a restriction object which is described below. In this case startDay/endDay fields are not supported. This can be used only if time restriction type is
time-of-day
.- restriction
List List<Property Map> It is a restriction object which is described below. This can be used only if time restriction type is
weekday-and-time-of-day
.
ScheduleRotationTimeRestrictionRestriction, ScheduleRotationTimeRestrictionRestrictionArgs
- End
Hour int Value of the hour that frame will end.
- End
Min int Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- Start
Hour int Value of the hour that frame will start.
- Start
Min int Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- End
Hour int Value of the hour that frame will end.
- End
Min int Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- Start
Hour int Value of the hour that frame will start.
- Start
Min int Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end
Hour Integer Value of the hour that frame will end.
- end
Min Integer Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- start
Hour Integer Value of the hour that frame will start.
- start
Min Integer Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end
Hour number Value of the hour that frame will end.
- end
Min number Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- start
Hour number Value of the hour that frame will start.
- start
Min number Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end_
hour int Value of the hour that frame will end.
- end_
min int Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- start_
hour int Value of the hour that frame will start.
- start_
min int Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end
Hour Number Value of the hour that frame will end.
- end
Min Number Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- start
Hour Number Value of the hour that frame will start.
- start
Min Number Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
ScheduleRotationTimeRestrictionRestrictionList, ScheduleRotationTimeRestrictionRestrictionListArgs
- End
Day string Value of the day that frame will end.
- End
Hour int Value of the hour that frame will end.
- End
Min int Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Both
start_day
andend_day
can assume onlymonday
,tuesday
,wednesday
,thursday
,friday
,saturday
, orsunday
values.- Start
Day string Value of the day that frame will start.
- Start
Hour int Value of the hour that frame will start
- Start
Min int Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- End
Day string Value of the day that frame will end.
- End
Hour int Value of the hour that frame will end.
- End
Min int Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Both
start_day
andend_day
can assume onlymonday
,tuesday
,wednesday
,thursday
,friday
,saturday
, orsunday
values.- Start
Day string Value of the day that frame will start.
- Start
Hour int Value of the hour that frame will start
- Start
Min int Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end
Day String Value of the day that frame will end.
- end
Hour Integer Value of the hour that frame will end.
- end
Min Integer Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Both
start_day
andend_day
can assume onlymonday
,tuesday
,wednesday
,thursday
,friday
,saturday
, orsunday
values.- start
Day String Value of the day that frame will start.
- start
Hour Integer Value of the hour that frame will start
- start
Min Integer Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end
Day string Value of the day that frame will end.
- end
Hour number Value of the hour that frame will end.
- end
Min number Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Both
start_day
andend_day
can assume onlymonday
,tuesday
,wednesday
,thursday
,friday
,saturday
, orsunday
values.- start
Day string Value of the day that frame will start.
- start
Hour number Value of the hour that frame will start
- start
Min number Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end_
day str Value of the day that frame will end.
- end_
hour int Value of the hour that frame will end.
- end_
min int Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Both
start_day
andend_day
can assume onlymonday
,tuesday
,wednesday
,thursday
,friday
,saturday
, orsunday
values.- start_
day str Value of the day that frame will start.
- start_
hour int Value of the hour that frame will start
- start_
min int Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
- end
Day String Value of the day that frame will end.
- end
Hour Number Value of the hour that frame will end.
- end
Min Number Value of the minute that frame will end. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Both
start_day
andend_day
can assume onlymonday
,tuesday
,wednesday
,thursday
,friday
,saturday
, orsunday
values.- start
Day String Value of the day that frame will start.
- start
Hour Number Value of the hour that frame will start
- start
Min Number Value of the minute that frame will start. Minutes may take 0 or 30 as value. Otherwise they will be converted to nearest 0 or 30 automatically.
Import
Schedule Rotations can be imported using the schedule_id/rotation_id
, e.g.
$ pulumi import opsgenie:index/scheduleRotation:ScheduleRotation * `opsgenie_schedule_rotation.test schedule_id/rotation_id`
Package Details
- Repository
- Opsgenie pulumi/pulumi-opsgenie
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
opsgenie
Terraform Provider.