azuredevops logo
Azure DevOps v2.6.0, Jan 26 23

AzureDevOps

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

Example

const ado = require("@pulumi/azuredevops")

const project = new ado.Core.Project("demo-project", {
    projectName: "my-project",
});
import * as ado from "@pulumi/azuredevops";

const project = new ado.Core.Project("demo-project", {
    projectName: "my-project",
});
import pulumi_azuredevops as ado

project = ado.core.Project("demo-project",
                           project_name="my-project")
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	ado "github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := ado.NewProject(ctx, "test", &ado.ProjectArgs{
			ProjectName: pulumi.String("my-project"),
		})
		if err != nil {
			return err
		}

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

await Deployment.RunAsync(() =>
{
	var project = new Project("test", new ProjectArgs
	{
		ProjectName = "my-project"
	});
});