1. Packages
  2. Opsgenie
Opsgenie v1.3.6 published on Tuesday, Feb 27, 2024 by Pulumi

Opsgenie

opsgenie logo
Opsgenie v1.3.6 published on Tuesday, Feb 27, 2024 by Pulumi

    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.

    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/v3/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{});
            });
    }
    
    opsgenie logo
    Opsgenie v1.3.6 published on Tuesday, Feb 27, 2024 by Pulumi