1. Packages
  2. PagerDuty
PagerDuty v4.8.1 published on Wednesday, Feb 21, 2024 by Pulumi

PagerDuty

pagerduty logo
PagerDuty v4.8.1 published on Wednesday, Feb 21, 2024 by Pulumi

    The PagerDuty provider for Pulumi can be used to provision any of the cloud resources available in PagerDuty. The PagerDuty provider must be configured with credentials to deploy and update resources in PagerDuty.

    Example

    const pagerduty = require("@pulumi/pagerduty")
    
    const demoTeam = new pagerduty.Team("demo-team", {
        description: "Demo team generated from examples",
    });
    
    import * as pagerduty from "@pulumi/pagerduty";
    
    const demoTeam = new pagerduty.Team("demo-team", {
        description: "Demo team generated from examples",
    });
    
    import pulumi_pagerduty as pagerduty
    
    demo_team = pagerduty.Team("demo-team",
      description="Demo team generated from examples")
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	pagerduty "github.com/pulumi/pulumi-pagerduty/sdk/v2/go/pagerduty"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		demoTeam, err := pagerduty.NewTeam(ctx, "demo-team", &pagerduty.TeamArgs{
    			Description: pulumi.String("Demo team generated from examples"),
    		})
    		if err != nil {
    			return err
    		}
    
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using Pulumi;
    using Pulumi.Pagerduty;
    
    class Program
    {
        static Task Main() =>
            Deployment.Run(() => {
                var demoTeam = new Team("demo-team", new TeamArgs
                {
                    Description = "Demo team generated from examples",
                });
            });
    }
    
    pagerduty logo
    PagerDuty v4.8.1 published on Wednesday, Feb 21, 2024 by Pulumi