Project

class Project : KotlinCustomResource

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.

Properties

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

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

Link copied to clipboard
val devCenterId: Output<String>

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

Link copied to clipboard
val devCenterUri: Output<String>

The URI of the Dev Center resource this project is associated with.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

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

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>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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>>?

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

Link copied to clipboard
val urn: Output<String>