Service

A service represents something you monitor (like a web service, email service, or database service). It is a container for related incidents that associates them with escalation policies.

Example Usage

using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleUser = new Pagerduty.User("exampleUser", new Pagerduty.UserArgs
        {
            Email = "125.greenholt.earline@graham.name",
            Teams = 
            {
                pagerduty_team.Example.Id,
            },
        });
        var foo = new Pagerduty.EscalationPolicy("foo", new Pagerduty.EscalationPolicyArgs
        {
            NumLoops = 2,
            Rules = 
            {
                new Pagerduty.Inputs.EscalationPolicyRuleArgs
                {
                    EscalationDelayInMinutes = 10,
                    Target = 
                    {
                        
                        {
                            { "id", exampleUser.Id },
                            { "type", "user" },
                        },
                    },
                },
            },
        });
        var exampleService = new Pagerduty.Service("exampleService", new Pagerduty.ServiceArgs
        {
            AcknowledgementTimeout = 600,
            AlertCreation = "create_incidents",
            AutoResolveTimeout = 14400,
            EscalationPolicy = pagerduty_escalation_policy.Example.Id,
        });
    }

}

Coming soon!

import pulumi
import pulumi_pagerduty as pagerduty

example_user = pagerduty.User("exampleUser",
    email="125.greenholt.earline@graham.name",
    teams=[pagerduty_team["example"]["id"]])
foo = pagerduty.EscalationPolicy("foo",
    num_loops=2,
    rules=[{
        "escalationDelayInMinutes": 10,
        "target": [{
            "id": example_user.id,
            "type": "user",
        }],
    }])
example_service = pagerduty.Service("exampleService",
    acknowledgement_timeout=600,
    alert_creation="create_incidents",
    auto_resolve_timeout=14400,
    escalation_policy=pagerduty_escalation_policy["example"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";

const exampleUser = new pagerduty.User("example", {
    email: "125.greenholt.earline@graham.name",
    teams: [pagerduty_team_example.id],
});
const foo = new pagerduty.EscalationPolicy("foo", {
    numLoops: 2,
    rules: [{
        escalationDelayInMinutes: 10,
        targets: [{
            id: exampleUser.id,
            type: "user",
        }],
    }],
});
const exampleService = new pagerduty.Service("example", {
    acknowledgementTimeout: "600",
    alertCreation: "create_incidents",
    autoResolveTimeout: "14400",
    escalationPolicy: pagerduty_escalation_policy_example.id,
});

Create a Service Resource

new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
def Service(resource_name, opts=None, acknowledgement_timeout=None, alert_creation=None, alert_grouping=None, alert_grouping_timeout=None, auto_resolve_timeout=None, description=None, escalation_policy=None, incident_urgency_rule=None, name=None, scheduled_actions=None, support_hours=None, __props__=None);
func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)
public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ServiceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Service Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Service resource accepts the following input properties:

EscalationPolicy string

The escalation policy used by this service.

AcknowledgementTimeout string

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

AlertCreation string

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

AlertGrouping string

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

AlertGroupingTimeout int

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

AutoResolveTimeout string

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

Description string
IncidentUrgencyRule ServiceIncidentUrgencyRuleArgs
Name string

The name of the service.

ScheduledActions List<ServiceScheduledActionArgs>
SupportHours ServiceSupportHoursArgs
EscalationPolicy string

The escalation policy used by this service.

AcknowledgementTimeout string

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

AlertCreation string

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

AlertGrouping string

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

AlertGroupingTimeout int

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

AutoResolveTimeout string

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

Description string
IncidentUrgencyRule ServiceIncidentUrgencyRule
Name string

The name of the service.

ScheduledActions []ServiceScheduledAction
SupportHours ServiceSupportHours
escalationPolicy string

The escalation policy used by this service.

acknowledgementTimeout string

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

alertCreation string

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

alertGrouping string

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

alertGroupingTimeout number

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

autoResolveTimeout string

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

description string
incidentUrgencyRule ServiceIncidentUrgencyRule
name string

The name of the service.

scheduledActions ServiceScheduledAction[]
supportHours ServiceSupportHours
escalation_policy str

The escalation policy used by this service.

acknowledgement_timeout str

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

alert_creation str

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

alert_grouping str

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

alert_grouping_timeout float

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

auto_resolve_timeout str

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

description str
incident_urgency_rule Dict[ServiceIncidentUrgencyRule]
name str

The name of the service.

scheduled_actions List[ServiceScheduledAction]
support_hours Dict[ServiceSupportHours]

Outputs

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

CreatedAt string
HtmlUrl string
Id string
The provider-assigned unique ID for this managed resource.
LastIncidentTimestamp string
Status string
CreatedAt string
HtmlUrl string
Id string
The provider-assigned unique ID for this managed resource.
LastIncidentTimestamp string
Status string
createdAt string
htmlUrl string
id string
The provider-assigned unique ID for this managed resource.
lastIncidentTimestamp string
status string
created_at str
html_url str
id str
The provider-assigned unique ID for this managed resource.
last_incident_timestamp str
status str

Look up an Existing Service Resource

Get an existing Service 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?: ServiceState, opts?: CustomResourceOptions): Service
static get(resource_name, id, opts=None, acknowledgement_timeout=None, alert_creation=None, alert_grouping=None, alert_grouping_timeout=None, auto_resolve_timeout=None, created_at=None, description=None, escalation_policy=None, html_url=None, incident_urgency_rule=None, last_incident_timestamp=None, name=None, scheduled_actions=None, status=None, support_hours=None, __props__=None);
func GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)
public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AcknowledgementTimeout string

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

AlertCreation string

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

AlertGrouping string

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

AlertGroupingTimeout int

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

AutoResolveTimeout string

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

CreatedAt string
Description string
EscalationPolicy string

The escalation policy used by this service.

HtmlUrl string
IncidentUrgencyRule ServiceIncidentUrgencyRuleArgs
LastIncidentTimestamp string
Name string

The name of the service.

ScheduledActions List<ServiceScheduledActionArgs>
Status string
SupportHours ServiceSupportHoursArgs
AcknowledgementTimeout string

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

AlertCreation string

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

AlertGrouping string

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

AlertGroupingTimeout int

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

AutoResolveTimeout string

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

CreatedAt string
Description string
EscalationPolicy string

The escalation policy used by this service.

HtmlUrl string
IncidentUrgencyRule ServiceIncidentUrgencyRule
LastIncidentTimestamp string
Name string

The name of the service.

ScheduledActions []ServiceScheduledAction
Status string
SupportHours ServiceSupportHours
acknowledgementTimeout string

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

alertCreation string

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

alertGrouping string

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

alertGroupingTimeout number

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

autoResolveTimeout string

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

createdAt string
description string
escalationPolicy string

The escalation policy used by this service.

htmlUrl string
incidentUrgencyRule ServiceIncidentUrgencyRule
lastIncidentTimestamp string
name string

The name of the service.

scheduledActions ServiceScheduledAction[]
status string
supportHours ServiceSupportHours
acknowledgement_timeout str

Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string.

alert_creation str

Must be one of two values. PagerDuty receives events from your monitoring systems and can then create incidents in different ways. Value “create_incidents” is default: events will create an incident that cannot be merged. Value “create_alerts_and_incidents” is the alternative: events will create an alert and then add it to a new incident, these incidents can be merged.

alert_grouping str

Defines how alerts on this service will be automatically grouped into incidents. Note that the alert grouping features are available only on certain plans. If not set, each alert will create a separate incident; If value is set to time: All alerts within a specified duration will be grouped into the same incident. This duration is set in the alert_grouping_timeout setting (described below). Available on Standard, Enterprise, and Event Intelligence plans; If value is set to intelligent - Alerts will be intelligently grouped based on a machine learning model that looks at the alert summary, timing, and the history of grouped alerts. Available on Enterprise and Event Intelligence plan.

alert_grouping_timeout float

The duration in minutes within which to automatically group incoming alerts. This setting applies only when alert_grouping is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

auto_resolve_timeout str

Time in seconds that an incident is automatically resolved if left open for that long. Disabled if set to the "null" string.

created_at str
description str
escalation_policy str

The escalation policy used by this service.

html_url str
incident_urgency_rule Dict[ServiceIncidentUrgencyRule]
last_incident_timestamp str
name str

The name of the service.

scheduled_actions List[ServiceScheduledAction]
status str
support_hours Dict[ServiceSupportHours]

Supporting Types

ServiceIncidentUrgencyRule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

DuringSupportHours ServiceIncidentUrgencyRuleDuringSupportHoursArgs

Incidents’ urgency during support hours.

OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHoursArgs

Incidents’ urgency outside of support hours.

Urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

DuringSupportHours ServiceIncidentUrgencyRuleDuringSupportHours

Incidents’ urgency during support hours.

OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHours

Incidents’ urgency outside of support hours.

Urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

type string

The type of scheduled action. Currently, this must be set to urgency_change.

duringSupportHours ServiceIncidentUrgencyRuleDuringSupportHours

Incidents’ urgency during support hours.

outsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHours

Incidents’ urgency outside of support hours.

urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

type str

The type of scheduled action. Currently, this must be set to urgency_change.

duringSupportHours Dict[ServiceIncidentUrgencyRuleDuringSupportHours]

Incidents’ urgency during support hours.

outsideSupportHours Dict[ServiceIncidentUrgencyRuleOutsideSupportHours]

Incidents’ urgency outside of support hours.

urgency str

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

ServiceIncidentUrgencyRuleDuringSupportHours

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

Urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

Urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

type string

The type of scheduled action. Currently, this must be set to urgency_change.

urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

type str

The type of scheduled action. Currently, this must be set to urgency_change.

urgency str

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

ServiceIncidentUrgencyRuleOutsideSupportHours

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

Urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

Urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

type string

The type of scheduled action. Currently, this must be set to urgency_change.

urgency string

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

type str

The type of scheduled action. Currently, this must be set to urgency_change.

urgency str

The urgency: low Notify responders (does not escalate), high (follows escalation rules) or severity_based Set’s the urgency of the incident based on the severity set by the triggering monitoring tool.

ServiceScheduledAction

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Ats List<ServiceScheduledActionAtArgs>

A block representing when the scheduled action will occur.

ToUrgency string

The urgency to change to: low (does not escalate), or high (follows escalation rules).

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

Ats []ServiceScheduledActionAt

A block representing when the scheduled action will occur.

ToUrgency string

The urgency to change to: low (does not escalate), or high (follows escalation rules).

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

ats ServiceScheduledActionAt[]

A block representing when the scheduled action will occur.

toUrgency string

The urgency to change to: low (does not escalate), or high (follows escalation rules).

type string

The type of scheduled action. Currently, this must be set to urgency_change.

ats List[ServiceScheduledActionAt]

A block representing when the scheduled action will occur.

toUrgency str

The urgency to change to: low (does not escalate), or high (follows escalation rules).

type str

The type of scheduled action. Currently, this must be set to urgency_change.

ServiceScheduledActionAt

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

Designates either the start or the end of the scheduled action. Can be support_hours_start or support_hours_end.

Type string

The type of time specification. Currently, this must be set to named_time.

Name string

Designates either the start or the end of the scheduled action. Can be support_hours_start or support_hours_end.

Type string

The type of time specification. Currently, this must be set to named_time.

name string

Designates either the start or the end of the scheduled action. Can be support_hours_start or support_hours_end.

type string

The type of time specification. Currently, this must be set to named_time.

name str

Designates either the start or the end of the scheduled action. Can be support_hours_start or support_hours_end.

type str

The type of time specification. Currently, this must be set to named_time.

ServiceSupportHours

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DaysOfWeeks List<int>

Array of days of week as integers. 1 to 7, 1 being Monday and 7 being Sunday.

EndTime string

The support hours’ ending time of day.

StartTime string

The support hours’ starting time of day.

TimeZone string

The time zone for the support hours.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

DaysOfWeeks []int

Array of days of week as integers. 1 to 7, 1 being Monday and 7 being Sunday.

EndTime string

The support hours’ ending time of day.

StartTime string

The support hours’ starting time of day.

TimeZone string

The time zone for the support hours.

Type string

The type of scheduled action. Currently, this must be set to urgency_change.

daysOfWeeks number[]

Array of days of week as integers. 1 to 7, 1 being Monday and 7 being Sunday.

endTime string

The support hours’ ending time of day.

startTime string

The support hours’ starting time of day.

timeZone string

The time zone for the support hours.

type string

The type of scheduled action. Currently, this must be set to urgency_change.

daysOfWeeks List[Integer]

Array of days of week as integers. 1 to 7, 1 being Monday and 7 being Sunday.

end_time str

The support hours’ ending time of day.

start_time str

The support hours’ starting time of day.

time_zone str

The time zone for the support hours.

type str

The type of scheduled action. Currently, this must be set to urgency_change.

Package Details

Repository
https://github.com/pulumi/pulumi-pagerduty
License
Apache-2.0
Notes
This Pulumi package is based on the pagerduty Terraform Provider.