Datadog

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

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

Setup

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

Example

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

const user = new datadog.User("my-user", {
  email: "[email protected]",
  handle: "[email protected]",
  name: "New User",
});
import * as datadog from "@pulumi/datadog";

const user = new datadog.User("my-policy", {
  email: "[email protected]",
  handle: "[email protected]",
  name: "New User",
});
import pulumi_datadog as datadog

user = datadog.User("my-policy",
  email="[email protected]",
  handle="[email protected]",
  name="New User",
)
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	datadog "github.com/pulumi/pulumi-datadog/sdk/v3/go/datadog"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := datadog.NewUser(ctx, "my-user", &datadog.UserArgs{
			Email:  pulumi.String("[email protected]"),
			Handle: pulumi.String("[email protected]"),
			Name:   pulumi.String("New User"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}

using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Datadog;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var user = new User("my-user", new UserArgs
            {
                Name = "New User",
                Email = "[email protected]",
                Handle = "[email protected]",
            });
        });
}

Libraries

The following packages are available in packager managers:

The Datadog provider is open source and available in the pulumi/pulumi-datadog repo.