1. Packages
  2. PagerDuty
  3. API Docs
  4. Service
PagerDuty v4.10.1 published on Wednesday, Mar 27, 2024 by Pulumi

pagerduty.Service

Explore with Pulumi AI

pagerduty logo
PagerDuty v4.10.1 published on Wednesday, Mar 27, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    
    const exampleUser = new pagerduty.User("exampleUser", {email: "125.greenholt.earline@graham.name"});
    const foo = new pagerduty.EscalationPolicy("foo", {
        numLoops: 2,
        rules: [{
            escalationDelayInMinutes: 10,
            targets: [{
                type: "user_reference",
                id: exampleUser.id,
            }],
        }],
    });
    const exampleService = new pagerduty.Service("exampleService", {
        autoResolveTimeout: "14400",
        acknowledgementTimeout: "600",
        escalationPolicy: foo.id,
        alertCreation: "create_alerts_and_incidents",
        autoPauseNotificationsParameters: {
            enabled: true,
            timeout: 300,
        },
    });
    
    import pulumi
    import pulumi_pagerduty as pagerduty
    
    example_user = pagerduty.User("exampleUser", email="125.greenholt.earline@graham.name")
    foo = pagerduty.EscalationPolicy("foo",
        num_loops=2,
        rules=[pagerduty.EscalationPolicyRuleArgs(
            escalation_delay_in_minutes=10,
            targets=[pagerduty.EscalationPolicyRuleTargetArgs(
                type="user_reference",
                id=example_user.id,
            )],
        )])
    example_service = pagerduty.Service("exampleService",
        auto_resolve_timeout="14400",
        acknowledgement_timeout="600",
        escalation_policy=foo.id,
        alert_creation="create_alerts_and_incidents",
        auto_pause_notifications_parameters=pagerduty.ServiceAutoPauseNotificationsParametersArgs(
            enabled=True,
            timeout=300,
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleUser, err := pagerduty.NewUser(ctx, "exampleUser", &pagerduty.UserArgs{
    			Email: pulumi.String("125.greenholt.earline@graham.name"),
    		})
    		if err != nil {
    			return err
    		}
    		foo, err := pagerduty.NewEscalationPolicy(ctx, "foo", &pagerduty.EscalationPolicyArgs{
    			NumLoops: pulumi.Int(2),
    			Rules: pagerduty.EscalationPolicyRuleArray{
    				&pagerduty.EscalationPolicyRuleArgs{
    					EscalationDelayInMinutes: pulumi.Int(10),
    					Targets: pagerduty.EscalationPolicyRuleTargetArray{
    						&pagerduty.EscalationPolicyRuleTargetArgs{
    							Type: pulumi.String("user_reference"),
    							Id:   exampleUser.ID(),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = pagerduty.NewService(ctx, "exampleService", &pagerduty.ServiceArgs{
    			AutoResolveTimeout:     pulumi.String("14400"),
    			AcknowledgementTimeout: pulumi.String("600"),
    			EscalationPolicy:       foo.ID(),
    			AlertCreation:          pulumi.String("create_alerts_and_incidents"),
    			AutoPauseNotificationsParameters: &pagerduty.ServiceAutoPauseNotificationsParametersArgs{
    				Enabled: pulumi.Bool(true),
    				Timeout: pulumi.Int(300),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleUser = new Pagerduty.User("exampleUser", new()
        {
            Email = "125.greenholt.earline@graham.name",
        });
    
        var foo = new Pagerduty.EscalationPolicy("foo", new()
        {
            NumLoops = 2,
            Rules = new[]
            {
                new Pagerduty.Inputs.EscalationPolicyRuleArgs
                {
                    EscalationDelayInMinutes = 10,
                    Targets = new[]
                    {
                        new Pagerduty.Inputs.EscalationPolicyRuleTargetArgs
                        {
                            Type = "user_reference",
                            Id = exampleUser.Id,
                        },
                    },
                },
            },
        });
    
        var exampleService = new Pagerduty.Service("exampleService", new()
        {
            AutoResolveTimeout = "14400",
            AcknowledgementTimeout = "600",
            EscalationPolicy = foo.Id,
            AlertCreation = "create_alerts_and_incidents",
            AutoPauseNotificationsParameters = new Pagerduty.Inputs.ServiceAutoPauseNotificationsParametersArgs
            {
                Enabled = true,
                Timeout = 300,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.pagerduty.User;
    import com.pulumi.pagerduty.UserArgs;
    import com.pulumi.pagerduty.EscalationPolicy;
    import com.pulumi.pagerduty.EscalationPolicyArgs;
    import com.pulumi.pagerduty.inputs.EscalationPolicyRuleArgs;
    import com.pulumi.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceAutoPauseNotificationsParametersArgs;
    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 exampleUser = new User("exampleUser", UserArgs.builder()        
                .email("125.greenholt.earline@graham.name")
                .build());
    
            var foo = new EscalationPolicy("foo", EscalationPolicyArgs.builder()        
                .numLoops(2)
                .rules(EscalationPolicyRuleArgs.builder()
                    .escalationDelayInMinutes(10)
                    .targets(EscalationPolicyRuleTargetArgs.builder()
                        .type("user_reference")
                        .id(exampleUser.id())
                        .build())
                    .build())
                .build());
    
            var exampleService = new Service("exampleService", ServiceArgs.builder()        
                .autoResolveTimeout(14400)
                .acknowledgementTimeout(600)
                .escalationPolicy(foo.id())
                .alertCreation("create_alerts_and_incidents")
                .autoPauseNotificationsParameters(ServiceAutoPauseNotificationsParametersArgs.builder()
                    .enabled(true)
                    .timeout(300)
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleUser:
        type: pagerduty:User
        properties:
          email: 125.greenholt.earline@graham.name
      foo:
        type: pagerduty:EscalationPolicy
        properties:
          numLoops: 2
          rules:
            - escalationDelayInMinutes: 10
              targets:
                - type: user_reference
                  id: ${exampleUser.id}
      exampleService:
        type: pagerduty:Service
        properties:
          autoResolveTimeout: 14400
          acknowledgementTimeout: 600
          escalationPolicy: ${foo.id}
          alertCreation: create_alerts_and_incidents
          autoPauseNotificationsParameters:
            enabled: true
            timeout: 300
    

    Create Service Resource

    new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
    @overload
    def Service(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                acknowledgement_timeout: Optional[str] = None,
                alert_creation: Optional[str] = None,
                alert_grouping: Optional[str] = None,
                alert_grouping_parameters: Optional[ServiceAlertGroupingParametersArgs] = None,
                alert_grouping_timeout: Optional[str] = None,
                auto_pause_notifications_parameters: Optional[ServiceAutoPauseNotificationsParametersArgs] = None,
                auto_resolve_timeout: Optional[str] = None,
                description: Optional[str] = None,
                escalation_policy: Optional[str] = None,
                incident_urgency_rule: Optional[ServiceIncidentUrgencyRuleArgs] = None,
                name: Optional[str] = None,
                response_play: Optional[str] = None,
                scheduled_actions: Optional[Sequence[ServiceScheduledActionArgs]] = None,
                support_hours: Optional[ServiceSupportHoursArgs] = None)
    @overload
    def Service(resource_name: str,
                args: ServiceArgs,
                opts: Optional[ResourceOptions] = None)
    func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)
    public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
    public Service(String name, ServiceArgs args)
    public Service(String name, ServiceArgs args, CustomResourceOptions options)
    
    type: pagerduty:Service
    properties: # The arguments to resource properties.
    options: # 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.
    resource_name str
    The unique name of the resource.
    args ServiceArgs
    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 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.
    name String
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    options 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 Architecture and Concepts 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. If not passed in, will default to '"1800"'.
    AlertCreation string
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    AlertGrouping string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    AlertGroupingParameters ServiceAlertGroupingParameters
    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.
    AlertGroupingTimeout string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParameters
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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.
    ResponsePlay string
    The response play used by this service.
    ScheduledActions List<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. If not passed in, will default to '"1800"'.
    AlertCreation string
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    AlertGrouping string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    AlertGroupingParameters ServiceAlertGroupingParametersArgs
    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.
    AlertGroupingTimeout string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParametersArgs
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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.
    ResponsePlay string
    The response play used by this service.
    ScheduledActions []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. If not passed in, will default to '"1800"'.
    alertCreation String
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alertGrouping String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alertGroupingParameters ServiceAlertGroupingParameters
    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.
    alertGroupingTimeout String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    autoPauseNotificationsParameters ServiceAutoPauseNotificationsParameters
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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.
    responsePlay String
    The response play used by this service.
    scheduledActions List<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. If not passed in, will default to '"1800"'.
    alertCreation string
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alertGrouping string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alertGroupingParameters ServiceAlertGroupingParameters
    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.
    alertGroupingTimeout string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    autoPauseNotificationsParameters ServiceAutoPauseNotificationsParameters
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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.
    responsePlay string
    The response play used by this 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. If not passed in, will default to '"1800"'.
    alert_creation str
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alert_grouping str
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alert_grouping_parameters ServiceAlertGroupingParametersArgs
    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.
    alert_grouping_timeout str
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    auto_pause_notifications_parameters ServiceAutoPauseNotificationsParametersArgs
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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 ServiceIncidentUrgencyRuleArgs
    name str
    The name of the service.
    response_play str
    The response play used by this service.
    scheduled_actions Sequence[ServiceScheduledActionArgs]
    support_hours 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. If not passed in, will default to '"1800"'.
    alertCreation String
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alertGrouping String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alertGroupingParameters Property Map
    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.
    alertGroupingTimeout String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    autoPauseNotificationsParameters Property Map
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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 Property Map
    name String
    The name of the service.
    responsePlay String
    The response play used by this service.
    scheduledActions List<Property Map>
    supportHours Property Map

    Outputs

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

    CreatedAt string
    Creation timestamp of the service.
    HtmlUrl string
    URL at which the entity is uniquely displayed in the Web app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastIncidentTimestamp string
    Last incident timestamp of the service.
    Status string
    The status of the service.
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    CreatedAt string
    Creation timestamp of the service.
    HtmlUrl string
    URL at which the entity is uniquely displayed in the Web app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastIncidentTimestamp string
    Last incident timestamp of the service.
    Status string
    The status of the service.
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    createdAt String
    Creation timestamp of the service.
    htmlUrl String
    URL at which the entity is uniquely displayed in the Web app.
    id String
    The provider-assigned unique ID for this managed resource.
    lastIncidentTimestamp String
    Last incident timestamp of the service.
    status String
    The status of the service.
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    createdAt string
    Creation timestamp of the service.
    htmlUrl string
    URL at which the entity is uniquely displayed in the Web app.
    id string
    The provider-assigned unique ID for this managed resource.
    lastIncidentTimestamp string
    Last incident timestamp of the service.
    status string
    The status of the service.
    type string
    The type of alert grouping; one of intelligent, time or content_based.
    created_at str
    Creation timestamp of the service.
    html_url str
    URL at which the entity is uniquely displayed in the Web app.
    id str
    The provider-assigned unique ID for this managed resource.
    last_incident_timestamp str
    Last incident timestamp of the service.
    status str
    The status of the service.
    type str
    The type of alert grouping; one of intelligent, time or content_based.
    createdAt String
    Creation timestamp of the service.
    htmlUrl String
    URL at which the entity is uniquely displayed in the Web app.
    id String
    The provider-assigned unique ID for this managed resource.
    lastIncidentTimestamp String
    Last incident timestamp of the service.
    status String
    The status of the service.
    type String
    The type of alert grouping; one of intelligent, time or content_based.

    Look up 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
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acknowledgement_timeout: Optional[str] = None,
            alert_creation: Optional[str] = None,
            alert_grouping: Optional[str] = None,
            alert_grouping_parameters: Optional[ServiceAlertGroupingParametersArgs] = None,
            alert_grouping_timeout: Optional[str] = None,
            auto_pause_notifications_parameters: Optional[ServiceAutoPauseNotificationsParametersArgs] = None,
            auto_resolve_timeout: Optional[str] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            escalation_policy: Optional[str] = None,
            html_url: Optional[str] = None,
            incident_urgency_rule: Optional[ServiceIncidentUrgencyRuleArgs] = None,
            last_incident_timestamp: Optional[str] = None,
            name: Optional[str] = None,
            response_play: Optional[str] = None,
            scheduled_actions: Optional[Sequence[ServiceScheduledActionArgs]] = None,
            status: Optional[str] = None,
            support_hours: Optional[ServiceSupportHoursArgs] = None,
            type: Optional[str] = None) -> Service
    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)
    public static Service get(String name, Output<String> id, ServiceState 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.
    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. If not passed in, will default to '"1800"'.
    AlertCreation string
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    AlertGrouping string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    AlertGroupingParameters ServiceAlertGroupingParameters
    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.
    AlertGroupingTimeout string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParameters
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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
    Creation timestamp of the service.
    Description string
    EscalationPolicy string
    The escalation policy used by this service.
    HtmlUrl string
    URL at which the entity is uniquely displayed in the Web app.
    IncidentUrgencyRule ServiceIncidentUrgencyRule
    LastIncidentTimestamp string
    Last incident timestamp of the service.
    Name string
    The name of the service.
    ResponsePlay string
    The response play used by this service.
    ScheduledActions List<ServiceScheduledAction>
    Status string
    The status of the service.
    SupportHours ServiceSupportHours
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    AcknowledgementTimeout string
    Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'.
    AlertCreation string
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    AlertGrouping string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    AlertGroupingParameters ServiceAlertGroupingParametersArgs
    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.
    AlertGroupingTimeout string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    AutoPauseNotificationsParameters ServiceAutoPauseNotificationsParametersArgs
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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
    Creation timestamp of the service.
    Description string
    EscalationPolicy string
    The escalation policy used by this service.
    HtmlUrl string
    URL at which the entity is uniquely displayed in the Web app.
    IncidentUrgencyRule ServiceIncidentUrgencyRuleArgs
    LastIncidentTimestamp string
    Last incident timestamp of the service.
    Name string
    The name of the service.
    ResponsePlay string
    The response play used by this service.
    ScheduledActions []ServiceScheduledActionArgs
    Status string
    The status of the service.
    SupportHours ServiceSupportHoursArgs
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    acknowledgementTimeout String
    Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'.
    alertCreation String
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alertGrouping String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alertGroupingParameters ServiceAlertGroupingParameters
    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.
    alertGroupingTimeout String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    autoPauseNotificationsParameters ServiceAutoPauseNotificationsParameters
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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
    Creation timestamp of the service.
    description String
    escalationPolicy String
    The escalation policy used by this service.
    htmlUrl String
    URL at which the entity is uniquely displayed in the Web app.
    incidentUrgencyRule ServiceIncidentUrgencyRule
    lastIncidentTimestamp String
    Last incident timestamp of the service.
    name String
    The name of the service.
    responsePlay String
    The response play used by this service.
    scheduledActions List<ServiceScheduledAction>
    status String
    The status of the service.
    supportHours ServiceSupportHours
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    acknowledgementTimeout string
    Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'.
    alertCreation string
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alertGrouping string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alertGroupingParameters ServiceAlertGroupingParameters
    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.
    alertGroupingTimeout string
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    autoPauseNotificationsParameters ServiceAutoPauseNotificationsParameters
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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
    Creation timestamp of the service.
    description string
    escalationPolicy string
    The escalation policy used by this service.
    htmlUrl string
    URL at which the entity is uniquely displayed in the Web app.
    incidentUrgencyRule ServiceIncidentUrgencyRule
    lastIncidentTimestamp string
    Last incident timestamp of the service.
    name string
    The name of the service.
    responsePlay string
    The response play used by this service.
    scheduledActions ServiceScheduledAction[]
    status string
    The status of the service.
    supportHours ServiceSupportHours
    type string
    The type of alert grouping; one of intelligent, time or content_based.
    acknowledgement_timeout str
    Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'.
    alert_creation str
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alert_grouping str
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alert_grouping_parameters ServiceAlertGroupingParametersArgs
    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.
    alert_grouping_timeout str
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    auto_pause_notifications_parameters ServiceAutoPauseNotificationsParametersArgs
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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
    Creation timestamp of the service.
    description str
    escalation_policy str
    The escalation policy used by this service.
    html_url str
    URL at which the entity is uniquely displayed in the Web app.
    incident_urgency_rule ServiceIncidentUrgencyRuleArgs
    last_incident_timestamp str
    Last incident timestamp of the service.
    name str
    The name of the service.
    response_play str
    The response play used by this service.
    scheduled_actions Sequence[ServiceScheduledActionArgs]
    status str
    The status of the service.
    support_hours ServiceSupportHoursArgs
    type str
    The type of alert grouping; one of intelligent, time or content_based.
    acknowledgementTimeout String
    Time in seconds that an incident changes to the Triggered State after being Acknowledged. Disabled if set to the "null" string. If not passed in, will default to '"1800"'.
    alertCreation String
    (Deprecated) This attribute has been deprecated as all services will be migrated to use alerts and incidents. The incident only service setting will be no longer available and this attribute will be removed in an upcoming version. See knowledge base for details https://support.pagerduty.com/docs/alerts#enable-and-disable-alerts-on-a-service.
    alertGrouping String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.type instead,

    Deprecated:Use alert_grouping_parameters.type

    alertGroupingParameters Property Map
    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.
    alertGroupingTimeout String
    (Deprecated) 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. This field is deprecated, use alert_grouping_parameters.config.timeout instead,

    Deprecated:Use alert_grouping_parameters.config.timeout

    autoPauseNotificationsParameters Property Map
    Defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient. Note that automatically pausing notifications is only available on certain plans as mentioned here.
    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
    Creation timestamp of the service.
    description String
    escalationPolicy String
    The escalation policy used by this service.
    htmlUrl String
    URL at which the entity is uniquely displayed in the Web app.
    incidentUrgencyRule Property Map
    lastIncidentTimestamp String
    Last incident timestamp of the service.
    name String
    The name of the service.
    responsePlay String
    The response play used by this service.
    scheduledActions List<Property Map>
    status String
    The status of the service.
    supportHours Property Map
    type String
    The type of alert grouping; one of intelligent, time or content_based.

    Supporting Types

    ServiceAlertGroupingParameters, ServiceAlertGroupingParametersArgs

    Config ServiceAlertGroupingParametersConfig
    Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty.
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    Config ServiceAlertGroupingParametersConfig
    Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty.
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    config ServiceAlertGroupingParametersConfig
    Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty.
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    config ServiceAlertGroupingParametersConfig
    Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty.
    type string
    The type of alert grouping; one of intelligent, time or content_based.
    config ServiceAlertGroupingParametersConfig
    Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty.
    type str
    The type of alert grouping; one of intelligent, time or content_based.
    config Property Map
    Alert grouping parameters dependent on type. If type is set to intelligent or empty then config can be empty.
    type String
    The type of alert grouping; one of intelligent, time or content_based.

    ServiceAlertGroupingParametersConfig, ServiceAlertGroupingParametersConfigArgs

    Aggregate string
    One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).
    Fields List<string>
    Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based.
    TimeWindow int
    The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
    Timeout int
    The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.
    Aggregate string
    One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).
    Fields []string
    Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based.
    TimeWindow int
    The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
    Timeout int
    The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.
    aggregate String
    One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).
    fields List<String>
    Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based.
    timeWindow Integer
    The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
    timeout Integer
    The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.
    aggregate string
    One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).
    fields string[]
    Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based.
    timeWindow number
    The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
    timeout number
    The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.
    aggregate str
    One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).
    fields Sequence[str]
    Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based.
    time_window int
    The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
    timeout int
    The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.
    aggregate String
    One of any or all. This setting applies only when type is set to content_based. Group alerts based on one or all of fields value(s).
    fields List<String>
    Alerts will be grouped together if the content of these fields match. This setting applies only when type is set to content_based.
    timeWindow Number
    The maximum amount of time allowed between Alerts. This setting applies only when type is set to intelligent or content_based. Value must be between 300 and 3600. Any Alerts arriving greater than time_window seconds apart will not be grouped together. This is a rolling time window and is counted from the most recently grouped alert. The window is extended every time a new alert is added to the group, up to 24 hours.
    timeout Number
    The duration in minutes within which to automatically group incoming alerts. This setting applies only when type is set to time. To continue grouping alerts until the incident is resolved, set this value to 0.

    ServiceAutoPauseNotificationsParameters, ServiceAutoPauseNotificationsParametersArgs

    Enabled bool
    Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
    Timeout int

    Indicates in seconds how long alerts should be suspended before triggering. Allowed values: 120, 180, 300, 600, 900 if enabled is true. Must be omitted or set to null if enabled is false.

    You may specify one optional incident_urgency_rule block configuring what urgencies to use. Your PagerDuty account must have the urgencies ability to assign an incident urgency rule. The block contains the following arguments:

    Enabled bool
    Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
    Timeout int

    Indicates in seconds how long alerts should be suspended before triggering. Allowed values: 120, 180, 300, 600, 900 if enabled is true. Must be omitted or set to null if enabled is false.

    You may specify one optional incident_urgency_rule block configuring what urgencies to use. Your PagerDuty account must have the urgencies ability to assign an incident urgency rule. The block contains the following arguments:

    enabled Boolean
    Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
    timeout Integer

    Indicates in seconds how long alerts should be suspended before triggering. Allowed values: 120, 180, 300, 600, 900 if enabled is true. Must be omitted or set to null if enabled is false.

    You may specify one optional incident_urgency_rule block configuring what urgencies to use. Your PagerDuty account must have the urgencies ability to assign an incident urgency rule. The block contains the following arguments:

    enabled boolean
    Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
    timeout number

    Indicates in seconds how long alerts should be suspended before triggering. Allowed values: 120, 180, 300, 600, 900 if enabled is true. Must be omitted or set to null if enabled is false.

    You may specify one optional incident_urgency_rule block configuring what urgencies to use. Your PagerDuty account must have the urgencies ability to assign an incident urgency rule. The block contains the following arguments:

    enabled bool
    Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
    timeout int

    Indicates in seconds how long alerts should be suspended before triggering. Allowed values: 120, 180, 300, 600, 900 if enabled is true. Must be omitted or set to null if enabled is false.

    You may specify one optional incident_urgency_rule block configuring what urgencies to use. Your PagerDuty account must have the urgencies ability to assign an incident urgency rule. The block contains the following arguments:

    enabled Boolean
    Indicates whether alerts should be automatically suspended when identified as transient. If not passed in, will default to 'false'.
    timeout Number

    Indicates in seconds how long alerts should be suspended before triggering. Allowed values: 120, 180, 300, 600, 900 if enabled is true. Must be omitted or set to null if enabled is false.

    You may specify one optional incident_urgency_rule block configuring what urgencies to use. Your PagerDuty account must have the urgencies ability to assign an incident urgency rule. The block contains the following arguments:

    ServiceIncidentUrgencyRule, ServiceIncidentUrgencyRuleArgs

    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    DuringSupportHours ServiceIncidentUrgencyRuleDuringSupportHours
    Incidents' urgency during support hours.
    OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHours

    Incidents' urgency outside support hours.

    When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block. Your PagerDuty account must have the service_support_hours ability to assign support hours. The block contains the following arguments:

    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 alert grouping; one of intelligent, time or content_based.
    DuringSupportHours ServiceIncidentUrgencyRuleDuringSupportHours
    Incidents' urgency during support hours.
    OutsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHours

    Incidents' urgency outside support hours.

    When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block. Your PagerDuty account must have the service_support_hours ability to assign support hours. The block contains the following arguments:

    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 alert grouping; one of intelligent, time or content_based.
    duringSupportHours ServiceIncidentUrgencyRuleDuringSupportHours
    Incidents' urgency during support hours.
    outsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHours

    Incidents' urgency outside support hours.

    When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block. Your PagerDuty account must have the service_support_hours ability to assign support hours. The block contains the following arguments:

    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 alert grouping; one of intelligent, time or content_based.
    duringSupportHours ServiceIncidentUrgencyRuleDuringSupportHours
    Incidents' urgency during support hours.
    outsideSupportHours ServiceIncidentUrgencyRuleOutsideSupportHours

    Incidents' urgency outside support hours.

    When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block. Your PagerDuty account must have the service_support_hours ability to assign support hours. The block contains the following arguments:

    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 alert grouping; one of intelligent, time or content_based.
    during_support_hours ServiceIncidentUrgencyRuleDuringSupportHours
    Incidents' urgency during support hours.
    outside_support_hours ServiceIncidentUrgencyRuleOutsideSupportHours

    Incidents' urgency outside support hours.

    When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block. Your PagerDuty account must have the service_support_hours ability to assign support hours. The block contains the following arguments:

    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.
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    duringSupportHours Property Map
    Incidents' urgency during support hours.
    outsideSupportHours Property Map

    Incidents' urgency outside support hours.

    When using type = "use_support_hours" in incident_urgency_rule you must specify exactly one (otherwise optional) support_hours block. Your PagerDuty account must have the service_support_hours ability to assign support hours. The block contains the following arguments:

    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.

    ServiceIncidentUrgencyRuleDuringSupportHours, ServiceIncidentUrgencyRuleDuringSupportHoursArgs

    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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.
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    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.

    ServiceIncidentUrgencyRuleOutsideSupportHours, ServiceIncidentUrgencyRuleOutsideSupportHoursArgs

    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    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.
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    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.

    ServiceScheduledAction, ServiceScheduledActionArgs

    Ats List<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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    ats List<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 alert grouping; one of intelligent, time or content_based.
    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 alert grouping; one of intelligent, time or content_based.
    ats Sequence[ServiceScheduledActionAt]
    A block representing when the scheduled action will occur.
    to_urgency str
    The urgency to change to: low (does not escalate), or high (follows escalation rules).
    type str
    The type of alert grouping; one of intelligent, time or content_based.
    ats List<Property Map>
    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 alert grouping; one of intelligent, time or content_based.

    ServiceScheduledActionAt, ServiceScheduledActionAtArgs

    Name string

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

    Note that it is currently only possible to define the scheduled action when urgency is set to high for during_support_hours and to low for outside_support_hours in incident_urgency_rule.

    Below is an example for a pagerduty.Service resource with incident_urgency_rules with type = "use_support_hours", support_hours and a default scheduled_action as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    

    const foo = new pagerduty.Service("foo", { description: "bar bar bar", autoResolveTimeout: "3600", acknowledgementTimeout: "3600", escalationPolicy: pagerduty_escalation_policy.foo.id, incidentUrgencyRule: { type: "use_support_hours", duringSupportHours: { type: "constant", urgency: "high", }, outsideSupportHours: { type: "constant", urgency: "low", }, }, supportHours: { type: "fixed_time_per_day", timeZone: "America/Lima", startTime: "09:00:00", endTime: "17:00:00", daysOfWeeks: [ 1, 2, 3, 4, 5, ], }, scheduledActions: [{ type: "urgency_change", toUrgency: "high", ats: [{ type: "named_time", name: "support_hours_start", }], }], });

    import pulumi
    import pulumi_pagerduty as pagerduty
    
    foo = pagerduty.Service("foo",
        description="bar bar bar",
        auto_resolve_timeout="3600",
        acknowledgement_timeout="3600",
        escalation_policy=pagerduty_escalation_policy["foo"]["id"],
        incident_urgency_rule=pagerduty.ServiceIncidentUrgencyRuleArgs(
            type="use_support_hours",
            during_support_hours=pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs(
                type="constant",
                urgency="high",
            ),
            outside_support_hours=pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs(
                type="constant",
                urgency="low",
            ),
        ),
        support_hours=pagerduty.ServiceSupportHoursArgs(
            type="fixed_time_per_day",
            time_zone="America/Lima",
            start_time="09:00:00",
            end_time="17:00:00",
            days_of_weeks=[
                1,
                2,
                3,
                4,
                5,
            ],
        ),
        scheduled_actions=[pagerduty.ServiceScheduledActionArgs(
            type="urgency_change",
            to_urgency="high",
            ats=[pagerduty.ServiceScheduledActionAtArgs(
                type="named_time",
                name="support_hours_start",
            )],
        )])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Pagerduty.Service("foo", new()
        {
            Description = "bar bar bar",
            AutoResolveTimeout = "3600",
            AcknowledgementTimeout = "3600",
            EscalationPolicy = pagerduty_escalation_policy.Foo.Id,
            IncidentUrgencyRule = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleArgs
            {
                Type = "use_support_hours",
                DuringSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "high",
                },
                OutsideSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "low",
                },
            },
            SupportHours = new Pagerduty.Inputs.ServiceSupportHoursArgs
            {
                Type = "fixed_time_per_day",
                TimeZone = "America/Lima",
                StartTime = "09:00:00",
                EndTime = "17:00:00",
                DaysOfWeeks = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                },
            },
            ScheduledActions = new[]
            {
                new Pagerduty.Inputs.ServiceScheduledActionArgs
                {
                    Type = "urgency_change",
                    ToUrgency = "high",
                    Ats = new[]
                    {
                        new Pagerduty.Inputs.ServiceScheduledActionAtArgs
                        {
                            Type = "named_time",
                            Name = "support_hours_start",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
    			Description:            pulumi.String("bar bar bar"),
    			AutoResolveTimeout:     pulumi.String("3600"),
    			AcknowledgementTimeout: pulumi.String("3600"),
    			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
    			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
    				Type: pulumi.String("use_support_hours"),
    				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("high"),
    				},
    				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("low"),
    				},
    			},
    			SupportHours: &pagerduty.ServiceSupportHoursArgs{
    				Type:      pulumi.String("fixed_time_per_day"),
    				TimeZone:  pulumi.String("America/Lima"),
    				StartTime: pulumi.String("09:00:00"),
    				EndTime:   pulumi.String("17:00:00"),
    				DaysOfWeeks: pulumi.IntArray{
    					pulumi.Int(1),
    					pulumi.Int(2),
    					pulumi.Int(3),
    					pulumi.Int(4),
    					pulumi.Int(5),
    				},
    			},
    			ScheduledActions: pagerduty.ServiceScheduledActionArray{
    				&pagerduty.ServiceScheduledActionArgs{
    					Type:      pulumi.String("urgency_change"),
    					ToUrgency: pulumi.String("high"),
    					Ats: pagerduty.ServiceScheduledActionAtArray{
    						&pagerduty.ServiceScheduledActionAtArgs{
    							Type: pulumi.String("named_time"),
    							Name: pulumi.String("support_hours_start"),
    						},
    					},
    				},
    			},
    		})
    		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.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceScheduledActionArgs;
    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 foo = new Service("foo", ServiceArgs.builder()        
                .description("bar bar bar")
                .autoResolveTimeout(3600)
                .acknowledgementTimeout(3600)
                .escalationPolicy(pagerduty_escalation_policy.foo().id())
                .incidentUrgencyRule(ServiceIncidentUrgencyRuleArgs.builder()
                    .type("use_support_hours")
                    .duringSupportHours(ServiceIncidentUrgencyRuleDuringSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("high")
                        .build())
                    .outsideSupportHours(ServiceIncidentUrgencyRuleOutsideSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("low")
                        .build())
                    .build())
                .supportHours(ServiceSupportHoursArgs.builder()
                    .type("fixed_time_per_day")
                    .timeZone("America/Lima")
                    .startTime("09:00:00")
                    .endTime("17:00:00")
                    .daysOfWeeks(                
                        1,
                        2,
                        3,
                        4,
                        5)
                    .build())
                .scheduledActions(ServiceScheduledActionArgs.builder()
                    .type("urgency_change")
                    .toUrgency("high")
                    .ats(ServiceScheduledActionAtArgs.builder()
                        .type("named_time")
                        .name("support_hours_start")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: pagerduty:Service
        properties:
          description: bar bar bar
          autoResolveTimeout: 3600
          acknowledgementTimeout: 3600
          escalationPolicy: ${pagerduty_escalation_policy.foo.id}
          incidentUrgencyRule:
            type: use_support_hours
            duringSupportHours:
              type: constant
              urgency: high
            outsideSupportHours:
              type: constant
              urgency: low
          supportHours:
            type: fixed_time_per_day
            timeZone: America/Lima
            startTime: 09:00:00
            endTime: 17:00:00
            daysOfWeeks:
              - 1
              - 2
              - 3
              - 4
              - 5
          scheduledActions:
            - type: urgency_change
              toUrgency: high
              ats:
                - type: named_time
                  name: support_hours_start
    
    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.

    Note that it is currently only possible to define the scheduled action when urgency is set to high for during_support_hours and to low for outside_support_hours in incident_urgency_rule.

    Below is an example for a pagerduty.Service resource with incident_urgency_rules with type = "use_support_hours", support_hours and a default scheduled_action as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    

    const foo = new pagerduty.Service("foo", { description: "bar bar bar", autoResolveTimeout: "3600", acknowledgementTimeout: "3600", escalationPolicy: pagerduty_escalation_policy.foo.id, incidentUrgencyRule: { type: "use_support_hours", duringSupportHours: { type: "constant", urgency: "high", }, outsideSupportHours: { type: "constant", urgency: "low", }, }, supportHours: { type: "fixed_time_per_day", timeZone: "America/Lima", startTime: "09:00:00", endTime: "17:00:00", daysOfWeeks: [ 1, 2, 3, 4, 5, ], }, scheduledActions: [{ type: "urgency_change", toUrgency: "high", ats: [{ type: "named_time", name: "support_hours_start", }], }], });

    import pulumi
    import pulumi_pagerduty as pagerduty
    
    foo = pagerduty.Service("foo",
        description="bar bar bar",
        auto_resolve_timeout="3600",
        acknowledgement_timeout="3600",
        escalation_policy=pagerduty_escalation_policy["foo"]["id"],
        incident_urgency_rule=pagerduty.ServiceIncidentUrgencyRuleArgs(
            type="use_support_hours",
            during_support_hours=pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs(
                type="constant",
                urgency="high",
            ),
            outside_support_hours=pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs(
                type="constant",
                urgency="low",
            ),
        ),
        support_hours=pagerduty.ServiceSupportHoursArgs(
            type="fixed_time_per_day",
            time_zone="America/Lima",
            start_time="09:00:00",
            end_time="17:00:00",
            days_of_weeks=[
                1,
                2,
                3,
                4,
                5,
            ],
        ),
        scheduled_actions=[pagerduty.ServiceScheduledActionArgs(
            type="urgency_change",
            to_urgency="high",
            ats=[pagerduty.ServiceScheduledActionAtArgs(
                type="named_time",
                name="support_hours_start",
            )],
        )])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Pagerduty.Service("foo", new()
        {
            Description = "bar bar bar",
            AutoResolveTimeout = "3600",
            AcknowledgementTimeout = "3600",
            EscalationPolicy = pagerduty_escalation_policy.Foo.Id,
            IncidentUrgencyRule = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleArgs
            {
                Type = "use_support_hours",
                DuringSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "high",
                },
                OutsideSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "low",
                },
            },
            SupportHours = new Pagerduty.Inputs.ServiceSupportHoursArgs
            {
                Type = "fixed_time_per_day",
                TimeZone = "America/Lima",
                StartTime = "09:00:00",
                EndTime = "17:00:00",
                DaysOfWeeks = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                },
            },
            ScheduledActions = new[]
            {
                new Pagerduty.Inputs.ServiceScheduledActionArgs
                {
                    Type = "urgency_change",
                    ToUrgency = "high",
                    Ats = new[]
                    {
                        new Pagerduty.Inputs.ServiceScheduledActionAtArgs
                        {
                            Type = "named_time",
                            Name = "support_hours_start",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
    			Description:            pulumi.String("bar bar bar"),
    			AutoResolveTimeout:     pulumi.String("3600"),
    			AcknowledgementTimeout: pulumi.String("3600"),
    			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
    			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
    				Type: pulumi.String("use_support_hours"),
    				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("high"),
    				},
    				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("low"),
    				},
    			},
    			SupportHours: &pagerduty.ServiceSupportHoursArgs{
    				Type:      pulumi.String("fixed_time_per_day"),
    				TimeZone:  pulumi.String("America/Lima"),
    				StartTime: pulumi.String("09:00:00"),
    				EndTime:   pulumi.String("17:00:00"),
    				DaysOfWeeks: pulumi.IntArray{
    					pulumi.Int(1),
    					pulumi.Int(2),
    					pulumi.Int(3),
    					pulumi.Int(4),
    					pulumi.Int(5),
    				},
    			},
    			ScheduledActions: pagerduty.ServiceScheduledActionArray{
    				&pagerduty.ServiceScheduledActionArgs{
    					Type:      pulumi.String("urgency_change"),
    					ToUrgency: pulumi.String("high"),
    					Ats: pagerduty.ServiceScheduledActionAtArray{
    						&pagerduty.ServiceScheduledActionAtArgs{
    							Type: pulumi.String("named_time"),
    							Name: pulumi.String("support_hours_start"),
    						},
    					},
    				},
    			},
    		})
    		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.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceScheduledActionArgs;
    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 foo = new Service("foo", ServiceArgs.builder()        
                .description("bar bar bar")
                .autoResolveTimeout(3600)
                .acknowledgementTimeout(3600)
                .escalationPolicy(pagerduty_escalation_policy.foo().id())
                .incidentUrgencyRule(ServiceIncidentUrgencyRuleArgs.builder()
                    .type("use_support_hours")
                    .duringSupportHours(ServiceIncidentUrgencyRuleDuringSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("high")
                        .build())
                    .outsideSupportHours(ServiceIncidentUrgencyRuleOutsideSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("low")
                        .build())
                    .build())
                .supportHours(ServiceSupportHoursArgs.builder()
                    .type("fixed_time_per_day")
                    .timeZone("America/Lima")
                    .startTime("09:00:00")
                    .endTime("17:00:00")
                    .daysOfWeeks(                
                        1,
                        2,
                        3,
                        4,
                        5)
                    .build())
                .scheduledActions(ServiceScheduledActionArgs.builder()
                    .type("urgency_change")
                    .toUrgency("high")
                    .ats(ServiceScheduledActionAtArgs.builder()
                        .type("named_time")
                        .name("support_hours_start")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: pagerduty:Service
        properties:
          description: bar bar bar
          autoResolveTimeout: 3600
          acknowledgementTimeout: 3600
          escalationPolicy: ${pagerduty_escalation_policy.foo.id}
          incidentUrgencyRule:
            type: use_support_hours
            duringSupportHours:
              type: constant
              urgency: high
            outsideSupportHours:
              type: constant
              urgency: low
          supportHours:
            type: fixed_time_per_day
            timeZone: America/Lima
            startTime: 09:00:00
            endTime: 17:00:00
            daysOfWeeks:
              - 1
              - 2
              - 3
              - 4
              - 5
          scheduledActions:
            - type: urgency_change
              toUrgency: high
              ats:
                - type: named_time
                  name: support_hours_start
    
    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.

    Note that it is currently only possible to define the scheduled action when urgency is set to high for during_support_hours and to low for outside_support_hours in incident_urgency_rule.

    Below is an example for a pagerduty.Service resource with incident_urgency_rules with type = "use_support_hours", support_hours and a default scheduled_action as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    

    const foo = new pagerduty.Service("foo", { description: "bar bar bar", autoResolveTimeout: "3600", acknowledgementTimeout: "3600", escalationPolicy: pagerduty_escalation_policy.foo.id, incidentUrgencyRule: { type: "use_support_hours", duringSupportHours: { type: "constant", urgency: "high", }, outsideSupportHours: { type: "constant", urgency: "low", }, }, supportHours: { type: "fixed_time_per_day", timeZone: "America/Lima", startTime: "09:00:00", endTime: "17:00:00", daysOfWeeks: [ 1, 2, 3, 4, 5, ], }, scheduledActions: [{ type: "urgency_change", toUrgency: "high", ats: [{ type: "named_time", name: "support_hours_start", }], }], });

    import pulumi
    import pulumi_pagerduty as pagerduty
    
    foo = pagerduty.Service("foo",
        description="bar bar bar",
        auto_resolve_timeout="3600",
        acknowledgement_timeout="3600",
        escalation_policy=pagerduty_escalation_policy["foo"]["id"],
        incident_urgency_rule=pagerduty.ServiceIncidentUrgencyRuleArgs(
            type="use_support_hours",
            during_support_hours=pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs(
                type="constant",
                urgency="high",
            ),
            outside_support_hours=pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs(
                type="constant",
                urgency="low",
            ),
        ),
        support_hours=pagerduty.ServiceSupportHoursArgs(
            type="fixed_time_per_day",
            time_zone="America/Lima",
            start_time="09:00:00",
            end_time="17:00:00",
            days_of_weeks=[
                1,
                2,
                3,
                4,
                5,
            ],
        ),
        scheduled_actions=[pagerduty.ServiceScheduledActionArgs(
            type="urgency_change",
            to_urgency="high",
            ats=[pagerduty.ServiceScheduledActionAtArgs(
                type="named_time",
                name="support_hours_start",
            )],
        )])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Pagerduty.Service("foo", new()
        {
            Description = "bar bar bar",
            AutoResolveTimeout = "3600",
            AcknowledgementTimeout = "3600",
            EscalationPolicy = pagerduty_escalation_policy.Foo.Id,
            IncidentUrgencyRule = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleArgs
            {
                Type = "use_support_hours",
                DuringSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "high",
                },
                OutsideSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "low",
                },
            },
            SupportHours = new Pagerduty.Inputs.ServiceSupportHoursArgs
            {
                Type = "fixed_time_per_day",
                TimeZone = "America/Lima",
                StartTime = "09:00:00",
                EndTime = "17:00:00",
                DaysOfWeeks = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                },
            },
            ScheduledActions = new[]
            {
                new Pagerduty.Inputs.ServiceScheduledActionArgs
                {
                    Type = "urgency_change",
                    ToUrgency = "high",
                    Ats = new[]
                    {
                        new Pagerduty.Inputs.ServiceScheduledActionAtArgs
                        {
                            Type = "named_time",
                            Name = "support_hours_start",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
    			Description:            pulumi.String("bar bar bar"),
    			AutoResolveTimeout:     pulumi.String("3600"),
    			AcknowledgementTimeout: pulumi.String("3600"),
    			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
    			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
    				Type: pulumi.String("use_support_hours"),
    				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("high"),
    				},
    				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("low"),
    				},
    			},
    			SupportHours: &pagerduty.ServiceSupportHoursArgs{
    				Type:      pulumi.String("fixed_time_per_day"),
    				TimeZone:  pulumi.String("America/Lima"),
    				StartTime: pulumi.String("09:00:00"),
    				EndTime:   pulumi.String("17:00:00"),
    				DaysOfWeeks: pulumi.IntArray{
    					pulumi.Int(1),
    					pulumi.Int(2),
    					pulumi.Int(3),
    					pulumi.Int(4),
    					pulumi.Int(5),
    				},
    			},
    			ScheduledActions: pagerduty.ServiceScheduledActionArray{
    				&pagerduty.ServiceScheduledActionArgs{
    					Type:      pulumi.String("urgency_change"),
    					ToUrgency: pulumi.String("high"),
    					Ats: pagerduty.ServiceScheduledActionAtArray{
    						&pagerduty.ServiceScheduledActionAtArgs{
    							Type: pulumi.String("named_time"),
    							Name: pulumi.String("support_hours_start"),
    						},
    					},
    				},
    			},
    		})
    		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.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceScheduledActionArgs;
    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 foo = new Service("foo", ServiceArgs.builder()        
                .description("bar bar bar")
                .autoResolveTimeout(3600)
                .acknowledgementTimeout(3600)
                .escalationPolicy(pagerduty_escalation_policy.foo().id())
                .incidentUrgencyRule(ServiceIncidentUrgencyRuleArgs.builder()
                    .type("use_support_hours")
                    .duringSupportHours(ServiceIncidentUrgencyRuleDuringSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("high")
                        .build())
                    .outsideSupportHours(ServiceIncidentUrgencyRuleOutsideSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("low")
                        .build())
                    .build())
                .supportHours(ServiceSupportHoursArgs.builder()
                    .type("fixed_time_per_day")
                    .timeZone("America/Lima")
                    .startTime("09:00:00")
                    .endTime("17:00:00")
                    .daysOfWeeks(                
                        1,
                        2,
                        3,
                        4,
                        5)
                    .build())
                .scheduledActions(ServiceScheduledActionArgs.builder()
                    .type("urgency_change")
                    .toUrgency("high")
                    .ats(ServiceScheduledActionAtArgs.builder()
                        .type("named_time")
                        .name("support_hours_start")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: pagerduty:Service
        properties:
          description: bar bar bar
          autoResolveTimeout: 3600
          acknowledgementTimeout: 3600
          escalationPolicy: ${pagerduty_escalation_policy.foo.id}
          incidentUrgencyRule:
            type: use_support_hours
            duringSupportHours:
              type: constant
              urgency: high
            outsideSupportHours:
              type: constant
              urgency: low
          supportHours:
            type: fixed_time_per_day
            timeZone: America/Lima
            startTime: 09:00:00
            endTime: 17:00:00
            daysOfWeeks:
              - 1
              - 2
              - 3
              - 4
              - 5
          scheduledActions:
            - type: urgency_change
              toUrgency: high
              ats:
                - type: named_time
                  name: support_hours_start
    
    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.

    Note that it is currently only possible to define the scheduled action when urgency is set to high for during_support_hours and to low for outside_support_hours in incident_urgency_rule.

    Below is an example for a pagerduty.Service resource with incident_urgency_rules with type = "use_support_hours", support_hours and a default scheduled_action as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    

    const foo = new pagerduty.Service("foo", { description: "bar bar bar", autoResolveTimeout: "3600", acknowledgementTimeout: "3600", escalationPolicy: pagerduty_escalation_policy.foo.id, incidentUrgencyRule: { type: "use_support_hours", duringSupportHours: { type: "constant", urgency: "high", }, outsideSupportHours: { type: "constant", urgency: "low", }, }, supportHours: { type: "fixed_time_per_day", timeZone: "America/Lima", startTime: "09:00:00", endTime: "17:00:00", daysOfWeeks: [ 1, 2, 3, 4, 5, ], }, scheduledActions: [{ type: "urgency_change", toUrgency: "high", ats: [{ type: "named_time", name: "support_hours_start", }], }], });

    import pulumi
    import pulumi_pagerduty as pagerduty
    
    foo = pagerduty.Service("foo",
        description="bar bar bar",
        auto_resolve_timeout="3600",
        acknowledgement_timeout="3600",
        escalation_policy=pagerduty_escalation_policy["foo"]["id"],
        incident_urgency_rule=pagerduty.ServiceIncidentUrgencyRuleArgs(
            type="use_support_hours",
            during_support_hours=pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs(
                type="constant",
                urgency="high",
            ),
            outside_support_hours=pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs(
                type="constant",
                urgency="low",
            ),
        ),
        support_hours=pagerduty.ServiceSupportHoursArgs(
            type="fixed_time_per_day",
            time_zone="America/Lima",
            start_time="09:00:00",
            end_time="17:00:00",
            days_of_weeks=[
                1,
                2,
                3,
                4,
                5,
            ],
        ),
        scheduled_actions=[pagerduty.ServiceScheduledActionArgs(
            type="urgency_change",
            to_urgency="high",
            ats=[pagerduty.ServiceScheduledActionAtArgs(
                type="named_time",
                name="support_hours_start",
            )],
        )])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Pagerduty.Service("foo", new()
        {
            Description = "bar bar bar",
            AutoResolveTimeout = "3600",
            AcknowledgementTimeout = "3600",
            EscalationPolicy = pagerduty_escalation_policy.Foo.Id,
            IncidentUrgencyRule = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleArgs
            {
                Type = "use_support_hours",
                DuringSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "high",
                },
                OutsideSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "low",
                },
            },
            SupportHours = new Pagerduty.Inputs.ServiceSupportHoursArgs
            {
                Type = "fixed_time_per_day",
                TimeZone = "America/Lima",
                StartTime = "09:00:00",
                EndTime = "17:00:00",
                DaysOfWeeks = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                },
            },
            ScheduledActions = new[]
            {
                new Pagerduty.Inputs.ServiceScheduledActionArgs
                {
                    Type = "urgency_change",
                    ToUrgency = "high",
                    Ats = new[]
                    {
                        new Pagerduty.Inputs.ServiceScheduledActionAtArgs
                        {
                            Type = "named_time",
                            Name = "support_hours_start",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
    			Description:            pulumi.String("bar bar bar"),
    			AutoResolveTimeout:     pulumi.String("3600"),
    			AcknowledgementTimeout: pulumi.String("3600"),
    			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
    			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
    				Type: pulumi.String("use_support_hours"),
    				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("high"),
    				},
    				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("low"),
    				},
    			},
    			SupportHours: &pagerduty.ServiceSupportHoursArgs{
    				Type:      pulumi.String("fixed_time_per_day"),
    				TimeZone:  pulumi.String("America/Lima"),
    				StartTime: pulumi.String("09:00:00"),
    				EndTime:   pulumi.String("17:00:00"),
    				DaysOfWeeks: pulumi.IntArray{
    					pulumi.Int(1),
    					pulumi.Int(2),
    					pulumi.Int(3),
    					pulumi.Int(4),
    					pulumi.Int(5),
    				},
    			},
    			ScheduledActions: pagerduty.ServiceScheduledActionArray{
    				&pagerduty.ServiceScheduledActionArgs{
    					Type:      pulumi.String("urgency_change"),
    					ToUrgency: pulumi.String("high"),
    					Ats: pagerduty.ServiceScheduledActionAtArray{
    						&pagerduty.ServiceScheduledActionAtArgs{
    							Type: pulumi.String("named_time"),
    							Name: pulumi.String("support_hours_start"),
    						},
    					},
    				},
    			},
    		})
    		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.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceScheduledActionArgs;
    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 foo = new Service("foo", ServiceArgs.builder()        
                .description("bar bar bar")
                .autoResolveTimeout(3600)
                .acknowledgementTimeout(3600)
                .escalationPolicy(pagerduty_escalation_policy.foo().id())
                .incidentUrgencyRule(ServiceIncidentUrgencyRuleArgs.builder()
                    .type("use_support_hours")
                    .duringSupportHours(ServiceIncidentUrgencyRuleDuringSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("high")
                        .build())
                    .outsideSupportHours(ServiceIncidentUrgencyRuleOutsideSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("low")
                        .build())
                    .build())
                .supportHours(ServiceSupportHoursArgs.builder()
                    .type("fixed_time_per_day")
                    .timeZone("America/Lima")
                    .startTime("09:00:00")
                    .endTime("17:00:00")
                    .daysOfWeeks(                
                        1,
                        2,
                        3,
                        4,
                        5)
                    .build())
                .scheduledActions(ServiceScheduledActionArgs.builder()
                    .type("urgency_change")
                    .toUrgency("high")
                    .ats(ServiceScheduledActionAtArgs.builder()
                        .type("named_time")
                        .name("support_hours_start")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: pagerduty:Service
        properties:
          description: bar bar bar
          autoResolveTimeout: 3600
          acknowledgementTimeout: 3600
          escalationPolicy: ${pagerduty_escalation_policy.foo.id}
          incidentUrgencyRule:
            type: use_support_hours
            duringSupportHours:
              type: constant
              urgency: high
            outsideSupportHours:
              type: constant
              urgency: low
          supportHours:
            type: fixed_time_per_day
            timeZone: America/Lima
            startTime: 09:00:00
            endTime: 17:00:00
            daysOfWeeks:
              - 1
              - 2
              - 3
              - 4
              - 5
          scheduledActions:
            - type: urgency_change
              toUrgency: high
              ats:
                - type: named_time
                  name: support_hours_start
    
    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.

    Note that it is currently only possible to define the scheduled action when urgency is set to high for during_support_hours and to low for outside_support_hours in incident_urgency_rule.

    Below is an example for a pagerduty.Service resource with incident_urgency_rules with type = "use_support_hours", support_hours and a default scheduled_action as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    

    const foo = new pagerduty.Service("foo", { description: "bar bar bar", autoResolveTimeout: "3600", acknowledgementTimeout: "3600", escalationPolicy: pagerduty_escalation_policy.foo.id, incidentUrgencyRule: { type: "use_support_hours", duringSupportHours: { type: "constant", urgency: "high", }, outsideSupportHours: { type: "constant", urgency: "low", }, }, supportHours: { type: "fixed_time_per_day", timeZone: "America/Lima", startTime: "09:00:00", endTime: "17:00:00", daysOfWeeks: [ 1, 2, 3, 4, 5, ], }, scheduledActions: [{ type: "urgency_change", toUrgency: "high", ats: [{ type: "named_time", name: "support_hours_start", }], }], });

    import pulumi
    import pulumi_pagerduty as pagerduty
    
    foo = pagerduty.Service("foo",
        description="bar bar bar",
        auto_resolve_timeout="3600",
        acknowledgement_timeout="3600",
        escalation_policy=pagerduty_escalation_policy["foo"]["id"],
        incident_urgency_rule=pagerduty.ServiceIncidentUrgencyRuleArgs(
            type="use_support_hours",
            during_support_hours=pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs(
                type="constant",
                urgency="high",
            ),
            outside_support_hours=pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs(
                type="constant",
                urgency="low",
            ),
        ),
        support_hours=pagerduty.ServiceSupportHoursArgs(
            type="fixed_time_per_day",
            time_zone="America/Lima",
            start_time="09:00:00",
            end_time="17:00:00",
            days_of_weeks=[
                1,
                2,
                3,
                4,
                5,
            ],
        ),
        scheduled_actions=[pagerduty.ServiceScheduledActionArgs(
            type="urgency_change",
            to_urgency="high",
            ats=[pagerduty.ServiceScheduledActionAtArgs(
                type="named_time",
                name="support_hours_start",
            )],
        )])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Pagerduty.Service("foo", new()
        {
            Description = "bar bar bar",
            AutoResolveTimeout = "3600",
            AcknowledgementTimeout = "3600",
            EscalationPolicy = pagerduty_escalation_policy.Foo.Id,
            IncidentUrgencyRule = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleArgs
            {
                Type = "use_support_hours",
                DuringSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "high",
                },
                OutsideSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "low",
                },
            },
            SupportHours = new Pagerduty.Inputs.ServiceSupportHoursArgs
            {
                Type = "fixed_time_per_day",
                TimeZone = "America/Lima",
                StartTime = "09:00:00",
                EndTime = "17:00:00",
                DaysOfWeeks = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                },
            },
            ScheduledActions = new[]
            {
                new Pagerduty.Inputs.ServiceScheduledActionArgs
                {
                    Type = "urgency_change",
                    ToUrgency = "high",
                    Ats = new[]
                    {
                        new Pagerduty.Inputs.ServiceScheduledActionAtArgs
                        {
                            Type = "named_time",
                            Name = "support_hours_start",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
    			Description:            pulumi.String("bar bar bar"),
    			AutoResolveTimeout:     pulumi.String("3600"),
    			AcknowledgementTimeout: pulumi.String("3600"),
    			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
    			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
    				Type: pulumi.String("use_support_hours"),
    				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("high"),
    				},
    				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("low"),
    				},
    			},
    			SupportHours: &pagerduty.ServiceSupportHoursArgs{
    				Type:      pulumi.String("fixed_time_per_day"),
    				TimeZone:  pulumi.String("America/Lima"),
    				StartTime: pulumi.String("09:00:00"),
    				EndTime:   pulumi.String("17:00:00"),
    				DaysOfWeeks: pulumi.IntArray{
    					pulumi.Int(1),
    					pulumi.Int(2),
    					pulumi.Int(3),
    					pulumi.Int(4),
    					pulumi.Int(5),
    				},
    			},
    			ScheduledActions: pagerduty.ServiceScheduledActionArray{
    				&pagerduty.ServiceScheduledActionArgs{
    					Type:      pulumi.String("urgency_change"),
    					ToUrgency: pulumi.String("high"),
    					Ats: pagerduty.ServiceScheduledActionAtArray{
    						&pagerduty.ServiceScheduledActionAtArgs{
    							Type: pulumi.String("named_time"),
    							Name: pulumi.String("support_hours_start"),
    						},
    					},
    				},
    			},
    		})
    		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.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceScheduledActionArgs;
    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 foo = new Service("foo", ServiceArgs.builder()        
                .description("bar bar bar")
                .autoResolveTimeout(3600)
                .acknowledgementTimeout(3600)
                .escalationPolicy(pagerduty_escalation_policy.foo().id())
                .incidentUrgencyRule(ServiceIncidentUrgencyRuleArgs.builder()
                    .type("use_support_hours")
                    .duringSupportHours(ServiceIncidentUrgencyRuleDuringSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("high")
                        .build())
                    .outsideSupportHours(ServiceIncidentUrgencyRuleOutsideSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("low")
                        .build())
                    .build())
                .supportHours(ServiceSupportHoursArgs.builder()
                    .type("fixed_time_per_day")
                    .timeZone("America/Lima")
                    .startTime("09:00:00")
                    .endTime("17:00:00")
                    .daysOfWeeks(                
                        1,
                        2,
                        3,
                        4,
                        5)
                    .build())
                .scheduledActions(ServiceScheduledActionArgs.builder()
                    .type("urgency_change")
                    .toUrgency("high")
                    .ats(ServiceScheduledActionAtArgs.builder()
                        .type("named_time")
                        .name("support_hours_start")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: pagerduty:Service
        properties:
          description: bar bar bar
          autoResolveTimeout: 3600
          acknowledgementTimeout: 3600
          escalationPolicy: ${pagerduty_escalation_policy.foo.id}
          incidentUrgencyRule:
            type: use_support_hours
            duringSupportHours:
              type: constant
              urgency: high
            outsideSupportHours:
              type: constant
              urgency: low
          supportHours:
            type: fixed_time_per_day
            timeZone: America/Lima
            startTime: 09:00:00
            endTime: 17:00:00
            daysOfWeeks:
              - 1
              - 2
              - 3
              - 4
              - 5
          scheduledActions:
            - type: urgency_change
              toUrgency: high
              ats:
                - type: named_time
                  name: support_hours_start
    
    type str
    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.

    Note that it is currently only possible to define the scheduled action when urgency is set to high for during_support_hours and to low for outside_support_hours in incident_urgency_rule.

    Below is an example for a pagerduty.Service resource with incident_urgency_rules with type = "use_support_hours", support_hours and a default scheduled_action as well.

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    

    const foo = new pagerduty.Service("foo", { description: "bar bar bar", autoResolveTimeout: "3600", acknowledgementTimeout: "3600", escalationPolicy: pagerduty_escalation_policy.foo.id, incidentUrgencyRule: { type: "use_support_hours", duringSupportHours: { type: "constant", urgency: "high", }, outsideSupportHours: { type: "constant", urgency: "low", }, }, supportHours: { type: "fixed_time_per_day", timeZone: "America/Lima", startTime: "09:00:00", endTime: "17:00:00", daysOfWeeks: [ 1, 2, 3, 4, 5, ], }, scheduledActions: [{ type: "urgency_change", toUrgency: "high", ats: [{ type: "named_time", name: "support_hours_start", }], }], });

    import pulumi
    import pulumi_pagerduty as pagerduty
    
    foo = pagerduty.Service("foo",
        description="bar bar bar",
        auto_resolve_timeout="3600",
        acknowledgement_timeout="3600",
        escalation_policy=pagerduty_escalation_policy["foo"]["id"],
        incident_urgency_rule=pagerduty.ServiceIncidentUrgencyRuleArgs(
            type="use_support_hours",
            during_support_hours=pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs(
                type="constant",
                urgency="high",
            ),
            outside_support_hours=pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs(
                type="constant",
                urgency="low",
            ),
        ),
        support_hours=pagerduty.ServiceSupportHoursArgs(
            type="fixed_time_per_day",
            time_zone="America/Lima",
            start_time="09:00:00",
            end_time="17:00:00",
            days_of_weeks=[
                1,
                2,
                3,
                4,
                5,
            ],
        ),
        scheduled_actions=[pagerduty.ServiceScheduledActionArgs(
            type="urgency_change",
            to_urgency="high",
            ats=[pagerduty.ServiceScheduledActionAtArgs(
                type="named_time",
                name="support_hours_start",
            )],
        )])
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pagerduty = Pulumi.Pagerduty;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Pagerduty.Service("foo", new()
        {
            Description = "bar bar bar",
            AutoResolveTimeout = "3600",
            AcknowledgementTimeout = "3600",
            EscalationPolicy = pagerduty_escalation_policy.Foo.Id,
            IncidentUrgencyRule = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleArgs
            {
                Type = "use_support_hours",
                DuringSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "high",
                },
                OutsideSupportHours = new Pagerduty.Inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs
                {
                    Type = "constant",
                    Urgency = "low",
                },
            },
            SupportHours = new Pagerduty.Inputs.ServiceSupportHoursArgs
            {
                Type = "fixed_time_per_day",
                TimeZone = "America/Lima",
                StartTime = "09:00:00",
                EndTime = "17:00:00",
                DaysOfWeeks = new[]
                {
                    1,
                    2,
                    3,
                    4,
                    5,
                },
            },
            ScheduledActions = new[]
            {
                new Pagerduty.Inputs.ServiceScheduledActionArgs
                {
                    Type = "urgency_change",
                    ToUrgency = "high",
                    Ats = new[]
                    {
                        new Pagerduty.Inputs.ServiceScheduledActionAtArgs
                        {
                            Type = "named_time",
                            Name = "support_hours_start",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := pagerduty.NewService(ctx, "foo", &pagerduty.ServiceArgs{
    			Description:            pulumi.String("bar bar bar"),
    			AutoResolveTimeout:     pulumi.String("3600"),
    			AcknowledgementTimeout: pulumi.String("3600"),
    			EscalationPolicy:       pulumi.Any(pagerduty_escalation_policy.Foo.Id),
    			IncidentUrgencyRule: &pagerduty.ServiceIncidentUrgencyRuleArgs{
    				Type: pulumi.String("use_support_hours"),
    				DuringSupportHours: &pagerduty.ServiceIncidentUrgencyRuleDuringSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("high"),
    				},
    				OutsideSupportHours: &pagerduty.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs{
    					Type:    pulumi.String("constant"),
    					Urgency: pulumi.String("low"),
    				},
    			},
    			SupportHours: &pagerduty.ServiceSupportHoursArgs{
    				Type:      pulumi.String("fixed_time_per_day"),
    				TimeZone:  pulumi.String("America/Lima"),
    				StartTime: pulumi.String("09:00:00"),
    				EndTime:   pulumi.String("17:00:00"),
    				DaysOfWeeks: pulumi.IntArray{
    					pulumi.Int(1),
    					pulumi.Int(2),
    					pulumi.Int(3),
    					pulumi.Int(4),
    					pulumi.Int(5),
    				},
    			},
    			ScheduledActions: pagerduty.ServiceScheduledActionArray{
    				&pagerduty.ServiceScheduledActionArgs{
    					Type:      pulumi.String("urgency_change"),
    					ToUrgency: pulumi.String("high"),
    					Ats: pagerduty.ServiceScheduledActionAtArray{
    						&pagerduty.ServiceScheduledActionAtArgs{
    							Type: pulumi.String("named_time"),
    							Name: pulumi.String("support_hours_start"),
    						},
    					},
    				},
    			},
    		})
    		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.pagerduty.Service;
    import com.pulumi.pagerduty.ServiceArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleDuringSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceIncidentUrgencyRuleOutsideSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceSupportHoursArgs;
    import com.pulumi.pagerduty.inputs.ServiceScheduledActionArgs;
    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 foo = new Service("foo", ServiceArgs.builder()        
                .description("bar bar bar")
                .autoResolveTimeout(3600)
                .acknowledgementTimeout(3600)
                .escalationPolicy(pagerduty_escalation_policy.foo().id())
                .incidentUrgencyRule(ServiceIncidentUrgencyRuleArgs.builder()
                    .type("use_support_hours")
                    .duringSupportHours(ServiceIncidentUrgencyRuleDuringSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("high")
                        .build())
                    .outsideSupportHours(ServiceIncidentUrgencyRuleOutsideSupportHoursArgs.builder()
                        .type("constant")
                        .urgency("low")
                        .build())
                    .build())
                .supportHours(ServiceSupportHoursArgs.builder()
                    .type("fixed_time_per_day")
                    .timeZone("America/Lima")
                    .startTime("09:00:00")
                    .endTime("17:00:00")
                    .daysOfWeeks(                
                        1,
                        2,
                        3,
                        4,
                        5)
                    .build())
                .scheduledActions(ServiceScheduledActionArgs.builder()
                    .type("urgency_change")
                    .toUrgency("high")
                    .ats(ServiceScheduledActionAtArgs.builder()
                        .type("named_time")
                        .name("support_hours_start")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: pagerduty:Service
        properties:
          description: bar bar bar
          autoResolveTimeout: 3600
          acknowledgementTimeout: 3600
          escalationPolicy: ${pagerduty_escalation_policy.foo.id}
          incidentUrgencyRule:
            type: use_support_hours
            duringSupportHours:
              type: constant
              urgency: high
            outsideSupportHours:
              type: constant
              urgency: low
          supportHours:
            type: fixed_time_per_day
            timeZone: America/Lima
            startTime: 09:00:00
            endTime: 17:00:00
            daysOfWeeks:
              - 1
              - 2
              - 3
              - 4
              - 5
          scheduledActions:
            - type: urgency_change
              toUrgency: high
              ats:
                - type: named_time
                  name: support_hours_start
    
    type String
    The type of time specification. Currently, this must be set to named_time.

    ServiceSupportHours, ServiceSupportHoursArgs

    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.

    A scheduled_actions block is required when using type = "use_support_hours" in incident_urgency_rule.

    The block contains the following arguments:

    StartTime string
    The support hours' starting time of day.
    TimeZone string
    The time zone for the support hours.
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    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.

    A scheduled_actions block is required when using type = "use_support_hours" in incident_urgency_rule.

    The block contains the following arguments:

    StartTime string
    The support hours' starting time of day.
    TimeZone string
    The time zone for the support hours.
    Type string
    The type of alert grouping; one of intelligent, time or content_based.
    daysOfWeeks List<Integer>
    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.

    A scheduled_actions block is required when using type = "use_support_hours" in incident_urgency_rule.

    The block contains the following arguments:

    startTime String
    The support hours' starting time of day.
    timeZone String
    The time zone for the support hours.
    type String
    The type of alert grouping; one of intelligent, time or content_based.
    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.

    A scheduled_actions block is required when using type = "use_support_hours" in incident_urgency_rule.

    The block contains the following arguments:

    startTime string
    The support hours' starting time of day.
    timeZone string
    The time zone for the support hours.
    type string
    The type of alert grouping; one of intelligent, time or content_based.
    days_of_weeks Sequence[int]
    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.

    A scheduled_actions block is required when using type = "use_support_hours" in incident_urgency_rule.

    The block contains the following arguments:

    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 alert grouping; one of intelligent, time or content_based.
    daysOfWeeks List<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.

    A scheduled_actions block is required when using type = "use_support_hours" in incident_urgency_rule.

    The block contains the following arguments:

    startTime String
    The support hours' starting time of day.
    timeZone String
    The time zone for the support hours.
    type String
    The type of alert grouping; one of intelligent, time or content_based.

    Import

    Services can be imported using the id, e.g.

    $ pulumi import pagerduty:index/service:Service main PLBP09X
    

    Package Details

    Repository
    PagerDuty pulumi/pulumi-pagerduty
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the pagerduty Terraform Provider.
    pagerduty logo
    PagerDuty v4.10.1 published on Wednesday, Mar 27, 2024 by Pulumi