DevCenterArgs

data class DevCenterArgs(val devCenterName: Output<String>? = null, val displayName: Output<String>? = null, val encryption: Output<EncryptionArgs>? = null, val identity: Output<ManagedServiceIdentityArgs>? = null, val location: Output<String>? = null, val projectCatalogSettings: Output<DevCenterProjectCatalogSettingsArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DevCenterArgs>

Represents a devcenter resource. Uses Azure REST API version 2024-02-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01. Other available API versions: 2023-04-01, 2023-08-01-preview, 2023-10-01-preview, 2024-05-01-preview, 2024-06-01-preview, 2024-07-01-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-02-01, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native devcenter [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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",
DisplayName = "ContosoDevCenter",
Location = "centralus",
ResourceGroupName = "rg1",
Tags =
{
{ "CostCode", "12345" },
},
});
});
package main
import (
devcenter "github.com/pulumi/pulumi-azure-native-sdk/devcenter/v3"
"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"),
DisplayName: pulumi.String("ContosoDevCenter"),
Location: pulumi.String("centralus"),
ResourceGroupName: pulumi.String("rg1"),
Tags: pulumi.StringMap{
"CostCode": pulumi.String("12345"),
},
})
if err != nil {
return err
}
return nil
})
}
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")
.displayName("ContosoDevCenter")
.location("centralus")
.resourceGroupName("rg1")
.tags(Map.of("CostCode", "12345"))
.build());
}
}

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}

Constructors

Link copied to clipboard
constructor(devCenterName: Output<String>? = null, displayName: Output<String>? = null, encryption: Output<EncryptionArgs>? = null, identity: Output<ManagedServiceIdentityArgs>? = null, location: Output<String>? = null, projectCatalogSettings: Output<DevCenterProjectCatalogSettingsArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val devCenterName: Output<String>? = null

The name of the devcenter.

Link copied to clipboard
val displayName: Output<String>? = null

The display name of the devcenter.

Link copied to clipboard
val encryption: Output<EncryptionArgs>? = null

Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations).

Link copied to clipboard

Managed identity properties

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard

Dev Center settings to be used when associating a project with a catalog.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): DevCenterArgs