import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Dev Center Project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const example = new azure.devcenter.DevCenter("example", { * name: "example", * resourceGroupName: exampleResourceGroup.name, * location: exampleResourceGroup.location, * identity: { * type: "example-value", * }, * }); * const exampleProject = new azure.devcenter.Project("example", { * devCenterId: example.id, * location: exampleResourceGroup.location, * name: "example", * resourceGroupName: exampleResourceGroup.name, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.DevCenter` - 2025-02-01 * * ## Import * * An existing Dev Center Project can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ 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`. */ export declare class Project extends pulumi.CustomResource { /** * Get an existing Project resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ProjectState, opts?: pulumi.CustomResourceOptions): Project; /** * Returns true if the given object is an instance of Project. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Project; /** * Description of the project. Changing this forces a new Dev Center Project to be created. */ readonly description: pulumi.Output; /** * Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created. */ readonly devCenterId: pulumi.Output; /** * The URI of the Dev Center resource this project is associated with. */ readonly devCenterUri: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created. */ readonly location: pulumi.Output; /** * When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. */ readonly maximumDevBoxesPerUser: pulumi.Output; /** * Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created. */ readonly name: pulumi.Output; /** * 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. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Dev Center Project. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Project resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Project resources. */ export interface ProjectState { /** * Description of the project. Changing this forces a new Dev Center Project to be created. */ description?: pulumi.Input; /** * Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created. */ devCenterId?: pulumi.Input; /** * The URI of the Dev Center resource this project is associated with. */ devCenterUri?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created. */ location?: pulumi.Input; /** * When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. */ maximumDevBoxesPerUser?: pulumi.Input; /** * Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created. */ name?: pulumi.Input; /** * 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. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Dev Center Project. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Project resource. */ export interface ProjectArgs { /** * Description of the project. Changing this forces a new Dev Center Project to be created. */ description?: pulumi.Input; /** * Resource Id of an associated DevCenter. Changing this forces a new Dev Center Project to be created. */ devCenterId: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * The Azure Region where the Dev Center Project should exist. Changing this forces a new Dev Center Project to be created. */ location?: pulumi.Input; /** * When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. */ maximumDevBoxesPerUser?: pulumi.Input; /** * Specifies the name of this Dev Center Project. Changing this forces a new Dev Center Project to be created. */ name?: pulumi.Input; /** * 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. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Dev Center Project. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }