We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.devcenter.get
Start a Neo task
Explain and create an azure.devcenter.get resource
Use this data source to access information about an existing Dev Center.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.devcenter.get({
name: "example",
resourceGroupName: "example-resource-group",
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.devcenter.get(name="example",
resource_group_name="example-resource-group")
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.Get(ctx, &devcenter.GetArgs{
Name: "example",
ResourceGroupName: "example-resource-group",
}, 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.Get.Invoke(new()
{
Name = "example",
ResourceGroupName = "example-resource-group",
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getResult => getResult.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.GetArgs;
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.get(GetArgs.builder()
.name("example")
.resourceGroupName("example-resource-group")
.build());
ctx.export("id", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:devcenter:get
arguments:
name: example
resourceGroupName: example-resource-group
outputs:
id: ${example.id}
API Providers
This data source uses the following Azure API Providers:
Microsoft.DevCenter- 2025-02-01
Using get
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 get(args: GetArgs, opts?: InvokeOptions): Promise<GetResult>
function getOutput(args: GetOutputArgs, opts?: InvokeOptions): Output<GetResult>def get(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResult
def get_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResult]func Get(ctx *Context, args *GetArgs, opts ...InvokeOption) (*GetResult, error)
func GetOutput(ctx *Context, args *GetOutputArgs, opts ...InvokeOption) GetResultOutput> Note: This function is named Get in the Go SDK.
public static class Get
{
public static Task<GetResult> InvokeAsync(GetArgs args, InvokeOptions? opts = null)
public static Output<GetResult> Invoke(GetInvokeArgs args, InvokeOptions? opts = null)
}fn::invoke:
function: azure:devcenter/get:get
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of this Dev Center.
- Resource
Group stringName - The name of the Resource Group where the Dev Center exists.
- Name string
- The name of this Dev Center.
- Resource
Group stringName - The name of the Resource Group where the Dev Center exists.
- name String
- The name of this Dev Center.
- resource
Group StringName - The name of the Resource Group where the Dev Center exists.
- name string
- The name of this Dev Center.
- resource
Group stringName - The name of the Resource Group where the Dev Center exists.
- name str
- The name of this Dev Center.
- resource_
group_ strname - The name of the Resource Group where the Dev Center exists.
- name String
- The name of this Dev Center.
- resource
Group StringName - The name of the Resource Group where the Dev Center exists.
get Result
The following output properties are available:
- Dev
Center stringUri - The URI of the Dev Center.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Identity> - An
identityblock as defined below. - Location string
- The Azure Region where the Dev Center exists.
- Name string
- Resource
Group stringName - Dictionary<string, string>
- A mapping of tags assigned to the Dev Center.
- Dev
Center stringUri - The URI of the Dev Center.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Identity - An
identityblock as defined below. - Location string
- The Azure Region where the Dev Center exists.
- Name string
- Resource
Group stringName - map[string]string
- A mapping of tags assigned to the Dev Center.
- dev
Center StringUri - The URI of the Dev Center.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Identity> - An
identityblock as defined below. - location String
- The Azure Region where the Dev Center exists.
- name String
- resource
Group StringName - Map<String,String>
- A mapping of tags assigned to the Dev Center.
- dev
Center stringUri - The URI of the Dev Center.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Identity[] - An
identityblock as defined below. - location string
- The Azure Region where the Dev Center exists.
- name string
- resource
Group stringName - {[key: string]: string}
- A mapping of tags assigned to the Dev Center.
- dev_
center_ struri - The URI of the Dev Center.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Identity] - An
identityblock as defined below. - location str
- The Azure Region where the Dev Center exists.
- name str
- resource_
group_ strname - Mapping[str, str]
- A mapping of tags assigned to the Dev Center.
- dev
Center StringUri - The URI of the Dev Center.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An
identityblock as defined below. - location String
- The Azure Region where the Dev Center exists.
- name String
- resource
Group StringName - Map<String>
- A mapping of tags assigned to the Dev Center.
Supporting Types
GetIdentity
- Identity
Ids List<string> - The list of User Assigned Managed Identity IDs assigned to this Dev Center.
- Principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- Tenant
Id string - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- Type string
- The type of Managed Service Identity that is configured on this Dev Center.
- Identity
Ids []string - The list of User Assigned Managed Identity IDs assigned to this Dev Center.
- Principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- Tenant
Id string - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- Type string
- The type of Managed Service Identity that is configured on this Dev Center.
- identity
Ids List<String> - The list of User Assigned Managed Identity IDs assigned to this Dev Center.
- principal
Id String - The Principal ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- tenant
Id String - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- type String
- The type of Managed Service Identity that is configured on this Dev Center.
- identity
Ids string[] - The list of User Assigned Managed Identity IDs assigned to this Dev Center.
- principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- tenant
Id string - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- type string
- The type of Managed Service Identity that is configured on this Dev Center.
- identity_
ids Sequence[str] - The list of User Assigned Managed Identity IDs assigned to this Dev Center.
- principal_
id str - The Principal ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- tenant_
id str - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- type str
- The type of Managed Service Identity that is configured on this Dev Center.
- identity
Ids List<String> - The list of User Assigned Managed Identity IDs assigned to this Dev Center.
- principal
Id String - The Principal ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- tenant
Id String - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Dev Center.
- type String
- The type of Managed Service Identity that is configured on this Dev Center.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
