Dev Box Definition Args
    data class DevBoxDefinitionArgs(val devBoxDefinitionName: Output<String>? = null, val devCenterName: Output<String>? = null, val hibernateSupport: Output<Either<String, HibernateSupport>>? = null, val imageReference: Output<ImageReferenceArgs>? = null, val location: Output<String>? = null, val osStorageType: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DevBoxDefinitionArgs> 
Represents a definition for a Developer Machine. Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2022-09-01-preview. Other available API versions: 2022-11-11-preview, 2023-08-01-preview, 2023-10-01-preview.
Example Usage
DevBoxDefinitions_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var devBoxDefinition = new AzureNative.DevCenter.DevBoxDefinition("devBoxDefinition", new()
    {
        DevBoxDefinitionName = "WebDevBox",
        DevCenterName = "Contoso",
        HibernateSupport = "Enabled",
        ImageReference = new AzureNative.DevCenter.Inputs.ImageReferenceArgs
        {
            Id = "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0",
        },
        Location = "centralus",
        ResourceGroupName = "rg1",
        Sku = new AzureNative.DevCenter.Inputs.SkuArgs
        {
            Name = "Preview",
        },
    });
});Content copied to clipboard
package main
import (
	"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.NewDevBoxDefinition(ctx, "devBoxDefinition", &devcenter.DevBoxDefinitionArgs{
			DevBoxDefinitionName: pulumi.String("WebDevBox"),
			DevCenterName:        pulumi.String("Contoso"),
			HibernateSupport:     pulumi.String("Enabled"),
			ImageReference: &devcenter.ImageReferenceArgs{
				Id: pulumi.String("/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0"),
			},
			Location:          pulumi.String("centralus"),
			ResourceGroupName: pulumi.String("rg1"),
			Sku: &devcenter.SkuArgs{
				Name: pulumi.String("Preview"),
			},
		})
		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.DevBoxDefinition;
import com.pulumi.azurenative.devcenter.DevBoxDefinitionArgs;
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 devBoxDefinition = new DevBoxDefinition("devBoxDefinition", DevBoxDefinitionArgs.builder()
            .devBoxDefinitionName("WebDevBox")
            .devCenterName("Contoso")
            .hibernateSupport("Enabled")
            .imageReference(Map.of("id", "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0"))
            .location("centralus")
            .resourceGroupName("rg1")
            .sku(Map.of("name", "Preview"))
            .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:DevBoxDefinition WebDevBox /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/devboxdefinitions/{devBoxDefinitionName}Content copied to clipboard
Constructors
Link copied to clipboard
                fun DevBoxDefinitionArgs(devBoxDefinitionName: Output<String>? = null, devCenterName: Output<String>? = null, hibernateSupport: Output<Either<String, HibernateSupport>>? = null, imageReference: Output<ImageReferenceArgs>? = null, location: Output<String>? = null, osStorageType: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<SkuArgs>? = null, tags: Output<Map<String, String>>? = null)