AzureAD

Pulumi Official
Package maintained by Pulumi
v5.22.0 published on Wednesday, May 4, 2022 by Pulumi

The AzureAD provider for Pulumi can be used to provision any of the Azure Active Directory resources available in Azure. The AzureAD provider must be configured with credentials to deploy and update resources in Azure.

Example

const azad = require("@pulumi/azuread")

const group = new azad.Group("my-group", {
    name: "my-group",
});
import * as azad from "@pulumi/azuread";

const group = new azad.Group("my-group", {
    name: "my-group",
});
import pulumi_azuread as azad

group = azad.Group("my-group",
            name="my-group")
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	azad "github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		group, err := azad.NewGroup(ctx, "my-group", &azad.GroupArgs{
			Name: pulumi.String("my-group"),
		})
		if err != nil {
			return err
		}

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

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var group = new Group("my-group", new GroupArgs
            {
                Name = "my-group",
            });
        });
}
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.azuread.Group;
import com.pulumi.azuread.GroupArgs;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    private static void stack(Context ctx) {
		final var group = new Group("my-group", GroupArgs.builder()
			.name("my-group")
			.build());
	}
}
resources:
  my-group:
    type: azureaz:Group
    properties:
      name: my-group