Dev Center
Represents a devcenter resource. Uses Azure REST API version 2023-04-01. In version 1.x of the Azure Native provider, it used API version 2022-09-01-preview. Other available API versions: 2023-08-01-preview, 2023-10-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-07-01-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-02-01.
Example Usage
DevCenters_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var devCenter = new AzureNative.DevCenter.DevCenter("devCenter", new()
{
DevCenterName = "Contoso",
Location = "centralus",
ResourceGroupName = "rg1",
Tags =
{
{ "CostCode", "12345" },
},
});
});
Content copied to clipboard
package main
import (
devcenter "github.com/pulumi/pulumi-azure-native-sdk/devcenter/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devcenter.NewDevCenter(ctx, "devCenter", &devcenter.DevCenterArgs{
DevCenterName: pulumi.String("Contoso"),
Location: pulumi.String("centralus"),
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"CostCode": pulumi.String("12345"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devcenter.DevCenter;
import com.pulumi.azurenative.devcenter.DevCenterArgs;
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 devCenter = new DevCenter("devCenter", DevCenterArgs.builder()
.devCenterName("Contoso")
.location("centralus")
.resourceGroupName("rg1")
.tags(Map.of("CostCode", "12345"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:devcenter:DevCenter Contoso /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}
Content copied to clipboard
Properties
Link copied to clipboard
The URI of the Dev Center.
Link copied to clipboard
Managed identity properties
Link copied to clipboard
The provisioning state of the resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.