The Cloud Engineering Summit replay is available! See all your favorite talks, on demand. Watch Now

NS1

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

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

Setup

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

Example

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

const myZone = new ns1.Zone("demo-zone", {
    zone: "demo.pulumi.io"
});
import * as ns1 from "@pulumi/ns1";

const myZone = new ns1.Zone("demo-zone", {
    zone: "demo.pulumi.io"
});
import pulumi_ns1 as ns1

zone = ns1.Zone("demo-zone",
  zone="demo.pulumi.io",
)
import (
  "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
  ns1 "github.com/pulumi/pulumi-ns1/sdk/go/ns1"
)

zone, _ := ns1.NewZone(ctx, "demo-zone", &ns1.ZoneArgs{
  Zone: pulumi.String("demo.pulumi.io"),
})
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Ns1;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var zone = new Zone("demo-zone", new ZoneArgs
            {
                ZoneName = "demo.pulumi.io",
            });
        });
}

Libraries

The following packages are available in packager managers:

The NS1 provider is open source and available in the pulumi/pulumi-ns1 repo.