ProjectArgs

data class ProjectArgs(val description: Output<String>? = null, val devCenterId: Output<String>? = null, val location: Output<String>? = null, val maximumDevBoxesPerUser: Output<Int>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ProjectArgs>

Manages a Dev Center Project.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.devcenter.DevCenter;
import com.pulumi.azure.devcenter.DevCenterArgs;
import com.pulumi.azure.devcenter.inputs.DevCenterIdentityArgs;
import com.pulumi.azure.devcenter.Project;
import com.pulumi.azure.devcenter.ProjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleDevCenter = new DevCenter("exampleDevCenter", DevCenterArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.identity(DevCenterIdentityArgs.builder()
.type("example-value")
.build())
.build());
var exampleProject = new Project("exampleProject", ProjectArgs.builder()
.devCenterId(exampleDevCenter.id())
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
}
}

Import

An existing Dev Center Project can be imported into Terraform using the resource id, e.g.

$ pulumi import azure:devcenter/project:Project example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}
  • Where {subscriptionId} is the ID of the Azure Subscription where the Dev Center Project exists. For example 12345678-1234-9876-4563-123456789012. * Where {resourceGroupName} is the name of Resource Group where this Dev Center Project exists. For example example-resource-group. * Where {projectName} is the name of the Project. For example projectValue.

Constructors

Link copied to clipboard
fun ProjectArgs(description: Output<String>? = null, devCenterId: Output<String>? = null, location: Output<String>? = null, maximumDevBoxesPerUser: Output<Int>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ProjectArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

Description of the project. Changing this forces a new Dev Center Project to be created.

Link copied to clipboard
val devCenterId: Output<String>? = null

Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created.

Link copied to clipboard
val location: Output<String>? = null

The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.

Link copied to clipboard
val maximumDevBoxesPerUser: Output<Int>? = null

When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Specifies the name of the Resource Group within which this Dev Center Project should exist. Changing this forces a new Dev Center Project to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags which should be assigned to the Dev Center Project.