unifi logo
Unifi v0.0.3, Dec 5 22


The Unifi provider for Pulumi can be used to provision any of the network resources available in a Unifi based network controlled by a Unifi controller. The Unifi provider must be configured with credentials to deploy and update resources in Unifi.


import * as pulumi from "@pulumi/pulumi";
import * as unifi from "@pulumiverse/unifi";

const mysite = new unifi.Site("mysite", {
    description: "mysite",
import pulumiverse_unifi as unifi

db = unifi.Site("mysite",
import (
	unifi "github.com/pulumiverse/pulumi-unifi/sdk/go/unifi"

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {

		site, err := unifi.NewSite(ctx, "mysite", &unifi.SiteArgs{
            Description: pulumi.String("mysite"),
		if err != nil {
			return fmt.Errorf("error creating site: %v", err)

		ctx.Export("dbId", site.Id)

		return nil
using Pulumi;
using Pulumiverse.Unifi;

class UnifiNet : Stack
    public UnifiNet()
        var db = new Site("mysite", new SiteArgs{
            Descriptino: "mysite"