We recommend using Azure Native.
Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi
azure.devcenter.getProjectPool
Explore with Pulumi AI
Use this data source to access information about an existing Dev Center Project Pool.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.devcenter.getProjectPool({
name: exampleAzurermDevCenterProjectPool.name,
devCenterProjectId: exampleAzurermDevCenterProjectPool.devCenterProjectId,
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.devcenter.get_project_pool(name=example_azurerm_dev_center_project_pool["name"],
dev_center_project_id=example_azurerm_dev_center_project_pool["devCenterProjectId"])
pulumi.export("id", example.id)
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/devcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := devcenter.LookupProjectPool(ctx, &devcenter.LookupProjectPoolArgs{
Name: exampleAzurermDevCenterProjectPool.Name,
DevCenterProjectId: exampleAzurermDevCenterProjectPool.DevCenterProjectId,
}, nil)
if err != nil {
return err
}
ctx.Export("id", example.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.DevCenter.GetProjectPool.Invoke(new()
{
Name = exampleAzurermDevCenterProjectPool.Name,
DevCenterProjectId = exampleAzurermDevCenterProjectPool.DevCenterProjectId,
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getProjectPoolResult => getProjectPoolResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.devcenter.DevcenterFunctions;
import com.pulumi.azure.devcenter.inputs.GetProjectPoolArgs;
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) {
final var example = DevcenterFunctions.getProjectPool(GetProjectPoolArgs.builder()
.name(exampleAzurermDevCenterProjectPool.name())
.devCenterProjectId(exampleAzurermDevCenterProjectPool.devCenterProjectId())
.build());
ctx.export("id", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:devcenter:getProjectPool
arguments:
name: ${exampleAzurermDevCenterProjectPool.name}
devCenterProjectId: ${exampleAzurermDevCenterProjectPool.devCenterProjectId}
outputs:
id: ${example.id}
API Providers
This data source uses the following Azure API Providers:
Microsoft.DevCenter
- 2025-02-01
Using getProjectPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectPool(args: GetProjectPoolArgs, opts?: InvokeOptions): Promise<GetProjectPoolResult>
function getProjectPoolOutput(args: GetProjectPoolOutputArgs, opts?: InvokeOptions): Output<GetProjectPoolResult>
def get_project_pool(dev_center_project_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectPoolResult
def get_project_pool_output(dev_center_project_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectPoolResult]
func LookupProjectPool(ctx *Context, args *LookupProjectPoolArgs, opts ...InvokeOption) (*LookupProjectPoolResult, error)
func LookupProjectPoolOutput(ctx *Context, args *LookupProjectPoolOutputArgs, opts ...InvokeOption) LookupProjectPoolResultOutput
> Note: This function is named LookupProjectPool
in the Go SDK.
public static class GetProjectPool
{
public static Task<GetProjectPoolResult> InvokeAsync(GetProjectPoolArgs args, InvokeOptions? opts = null)
public static Output<GetProjectPoolResult> Invoke(GetProjectPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectPoolResult> getProjectPool(GetProjectPoolArgs args, InvokeOptions options)
public static Output<GetProjectPoolResult> getProjectPool(GetProjectPoolArgs args, InvokeOptions options)
fn::invoke:
function: azure:devcenter/getProjectPool:getProjectPool
arguments:
# arguments dictionary
The following arguments are supported:
- Dev
Center stringProject Id - The ID of the associated Dev Center Project.
- Name string
- The name of this Dev Center Project Pool.
- Dev
Center stringProject Id - The ID of the associated Dev Center Project.
- Name string
- The name of this Dev Center Project Pool.
- dev
Center StringProject Id - The ID of the associated Dev Center Project.
- name String
- The name of this Dev Center Project Pool.
- dev
Center stringProject Id - The ID of the associated Dev Center Project.
- name string
- The name of this Dev Center Project Pool.
- dev_
center_ strproject_ id - The ID of the associated Dev Center Project.
- name str
- The name of this Dev Center Project Pool.
- dev
Center StringProject Id - The ID of the associated Dev Center Project.
- name String
- The name of this Dev Center Project Pool.
getProjectPool Result
The following output properties are available:
- Dev
Box stringDefinition Name - The name of the Dev Center Dev Box Definition.
- Dev
Center stringAttached Network Name - The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
- Dev
Center stringProject Id - Id string
- The provider-assigned unique ID for this managed resource.
- Local
Administrator boolEnabled - Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
- Location string
- The Azure Region where the Dev Center Project Pool exists.
- Name string
- Stop
On intDisconnect Grace Period Minutes - The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected.
- Dictionary<string, string>
- A mapping of tags assigned to the Dev Center Project Pool.
- Dev
Box stringDefinition Name - The name of the Dev Center Dev Box Definition.
- Dev
Center stringAttached Network Name - The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
- Dev
Center stringProject Id - Id string
- The provider-assigned unique ID for this managed resource.
- Local
Administrator boolEnabled - Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
- Location string
- The Azure Region where the Dev Center Project Pool exists.
- Name string
- Stop
On intDisconnect Grace Period Minutes - The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected.
- map[string]string
- A mapping of tags assigned to the Dev Center Project Pool.
- dev
Box StringDefinition Name - The name of the Dev Center Dev Box Definition.
- dev
Center StringAttached Network Name - The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
- dev
Center StringProject Id - id String
- The provider-assigned unique ID for this managed resource.
- local
Administrator BooleanEnabled - Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
- location String
- The Azure Region where the Dev Center Project Pool exists.
- name String
- stop
On IntegerDisconnect Grace Period Minutes - The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected.
- Map<String,String>
- A mapping of tags assigned to the Dev Center Project Pool.
- dev
Box stringDefinition Name - The name of the Dev Center Dev Box Definition.
- dev
Center stringAttached Network Name - The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
- dev
Center stringProject Id - id string
- The provider-assigned unique ID for this managed resource.
- local
Administrator booleanEnabled - Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
- location string
- The Azure Region where the Dev Center Project Pool exists.
- name string
- stop
On numberDisconnect Grace Period Minutes - The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected.
- {[key: string]: string}
- A mapping of tags assigned to the Dev Center Project Pool.
- dev_
box_ strdefinition_ name - The name of the Dev Center Dev Box Definition.
- dev_
center_ strattached_ network_ name - The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
- dev_
center_ strproject_ id - id str
- The provider-assigned unique ID for this managed resource.
- local_
administrator_ boolenabled - Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
- location str
- The Azure Region where the Dev Center Project Pool exists.
- name str
- stop_
on_ intdisconnect_ grace_ period_ minutes - The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected.
- Mapping[str, str]
- A mapping of tags assigned to the Dev Center Project Pool.
- dev
Box StringDefinition Name - The name of the Dev Center Dev Box Definition.
- dev
Center StringAttached Network Name - The name of the Dev Center Attached Network in parent Project of the Dev Center Project Pool.
- dev
Center StringProject Id - id String
- The provider-assigned unique ID for this managed resource.
- local
Administrator BooleanEnabled - Specifies whether owners of Dev Boxes in the Dev Center Project Pool are added as local administrators on the Dev Box.
- location String
- The Azure Region where the Dev Center Project Pool exists.
- name String
- stop
On NumberDisconnect Grace Period Minutes - The specified time in minutes to wait before stopping a Dev Center Dev Box once disconnect is detected.
- Map<String>
- A mapping of tags assigned to the Dev Center Project Pool.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.