Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

Opsgenie

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

See the full API documentation for complete details of the available Opsgenie provider APIs.

Setup

The Opsgenie provider supports several options for providing access to Opsgenie credentials. See the Opsgenie setup page for details.

Example

const opsgenie = require("@pulumi/opsgenie")

const team = new opsgenie.Team('test');
import * as opsgenie from "@pulumi/opsgenie";

const team = new opsgenie.Team('test');
import pulumi_opsgenie as opsgenie

team = opsgenie.Team("test")
import (
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
    "github.com/pulumi/pulumi-opsgenie/sdk/go/opsgenie"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        team, err := opsgenie.NewTeam(ctx, "my-team", &opsgenie.TeamArgs{})
        if err != nil {
            return err
        }

        return nil
    })
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Opsgenie;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var team = new Team("my-team", new TeamArgs{});
        });
}

Libraries

The following packages are available in packager managers:

The Opsgenie provider is open source and available in the pulumi/pulumi-opsgenie repo.