v0.0.2 published on Tuesday, Nov 8, 2022 by Pulumiverse

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 "@pulumi/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"