DNSimple

Pulumi Official
Package maintained by Pulumi
v3.3.0 published on Monday, Nov 15, 2021 by Pulumi

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

Example

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

const record = new dnsimple.Record("test", {
  name: "test",
  domain: "mydomain.dev",
  type: dnsimple.RecordTypes.CNAME,
  value: "api.devflix.watch.herokudns.com"
});
import * as dnsimple from "@pulumi/dnsimple";

const record = new dnsimple.Record("test", {
  name: "test",
  domain: "mydomain.dev",
  type: dnsimple.RecordTypes.CNAME,
  value: "api.devflix.watch.herokudns.com"
});
import pulumi_dnsimple as dnsimple

record = dnsimple.Record("test",
  name="test",
  domain="mydomain.dev",
  type="CNAME",
  value="api.devflix.watch.herokudns.com"
)
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	dnsimple "github.com/pulumi/pulumi-dnsimple/sdk/v3/go/dnsimple"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		record, err := dnsimple.NewRecord(ctx, "test", &dnsimple.RecordArgs{
			Name:   pulumi.String("test"),
			Domain: pulumi.String("mydomain.dev"),
			Type:   pulumi.String("CNAME"),
			Value:  pulumi.String("api.devflix.watch.herokudns.com"),
		})
		if err != nil {
			return err
		}

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

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var record = new Record("test", new RecordArgs
            {
                Name = "test",
                Domain = "mydomain.dev",
                Type = "CNAME",
                Value = "api.devflix.watch.herokudns.com",
            });
        });
}