Lab

class Lab : KotlinCustomResource

A lab. Uses Azure REST API version 2018-09-15. In version 2.x of the Azure Native provider, it used API version 2018-09-15.

Example Usage

Labs_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var lab = new AzureNative.DevTestLab.Lab("lab", new()
{
LabStorageType = "{Standard|Premium}",
Location = "{location}",
Name = "{labName}",
ResourceGroupName = "resourceGroupName",
Tags =
{
{ "tagName1", "tagValue1" },
},
});
});
package main
import (
devtestlab "github.com/pulumi/pulumi-azure-native-sdk/devtestlab/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devtestlab.NewLab(ctx, "lab", &devtestlab.LabArgs{
LabStorageType: pulumi.String("{Standard|Premium}"),
Location: pulumi.String("{location}"),
Name: pulumi.String("{labName}"),
ResourceGroupName: pulumi.String("resourceGroupName"),
Tags: pulumi.StringMap{
"tagName1": pulumi.String("tagValue1"),
},
})
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.devtestlab.Lab;
import com.pulumi.azurenative.devtestlab.LabArgs;
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 lab = new Lab("lab", LabArgs.builder()
.labStorageType("{Standard|Premium}")
.location("{location}")
.name("{labName}")
.resourceGroupName("resourceGroupName")
.tags(Map.of("tagName1", "tagValue1"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:devtestlab:Lab {labName} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}

Properties

Link copied to clipboard

The properties of any lab announcement associated with this lab

Link copied to clipboard

The lab's artifact storage account.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val createdDate: Output<String>

The creation date of the lab.

Link copied to clipboard

The lab's default premium storage account.

Link copied to clipboard

The lab's default storage account.

Link copied to clipboard

The access rights to be granted to the user when provisioning an environment

Link copied to clipboard

Extended properties of the lab used for experimental features

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labStorageType: Output<String>?

Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.

Link copied to clipboard
val loadBalancerId: Output<String>

The load balancer used to for lab VMs that use shared IP address.

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

The location of the resource.

Link copied to clipboard

The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.

Link copied to clipboard

The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.

Link copied to clipboard
val name: Output<String>

The name of the resource.

Link copied to clipboard

The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.

Link copied to clipboard
val premiumDataDisks: Output<String>?

The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.

Link copied to clipboard

The lab's premium data disk storage account.

Link copied to clipboard

The provisioning status of the resource.

Link copied to clipboard
val publicIpId: Output<String>

The public IP address for the lab's load balancer.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The properties of any lab support message associated with this lab

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

The tags of the resource.

Link copied to clipboard
val type: Output<String>

The type of the resource.

Link copied to clipboard

The unique immutable identifier of a resource (Guid).

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vaultName: Output<String>

The lab's Key vault.

Link copied to clipboard

The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.