1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. Lab
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.devtestlab.Lab

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

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" },
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const lab = new azure_native.devtestlab.Lab("lab", {
    labStorageType: "{Standard|Premium}",
    location: "{location}",
    name: "{labName}",
    resourceGroupName: "resourceGroupName",
    tags: {
        tagName1: "tagValue1",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

lab = azure_native.devtestlab.Lab("lab",
    lab_storage_type="{Standard|Premium}",
    location="{location}",
    name="{labName}",
    resource_group_name="resourceGroupName",
    tags={
        "tagName1": "tagValue1",
    })
Copy
resources:
  lab:
    type: azure-native:devtestlab:Lab
    properties:
      labStorageType: '{Standard|Premium}'
      location: '{location}'
      name: '{labName}'
      resourceGroupName: resourceGroupName
      tags:
        tagName1: tagValue1
Copy

Create Lab Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Lab(name: string, args: LabArgs, opts?: CustomResourceOptions);
@overload
def Lab(resource_name: str,
        args: LabArgs,
        opts: Optional[ResourceOptions] = None)

@overload
def Lab(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        resource_group_name: Optional[str] = None,
        announcement: Optional[LabAnnouncementPropertiesArgs] = None,
        environment_permission: Optional[Union[str, EnvironmentPermission]] = None,
        extended_properties: Optional[Mapping[str, str]] = None,
        lab_storage_type: Optional[Union[str, StorageType]] = None,
        location: Optional[str] = None,
        mandatory_artifacts_resource_ids_linux: Optional[Sequence[str]] = None,
        mandatory_artifacts_resource_ids_windows: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        premium_data_disks: Optional[Union[str, PremiumDataDisk]] = None,
        support: Optional[LabSupportPropertiesArgs] = None,
        tags: Optional[Mapping[str, str]] = None)
func NewLab(ctx *Context, name string, args LabArgs, opts ...ResourceOption) (*Lab, error)
public Lab(string name, LabArgs args, CustomResourceOptions? opts = null)
public Lab(String name, LabArgs args)
public Lab(String name, LabArgs args, CustomResourceOptions options)
type: azure-native:devtestlab:Lab
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LabArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LabArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LabArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LabArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LabArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var labResource = new AzureNative.DevTestLab.Lab("labResource", new()
{
    ResourceGroupName = "string",
    Announcement = new AzureNative.DevTestLab.Inputs.LabAnnouncementPropertiesArgs
    {
        Enabled = "string",
        ExpirationDate = "string",
        Expired = false,
        Markdown = "string",
        Title = "string",
    },
    EnvironmentPermission = "string",
    ExtendedProperties = 
    {
        { "string", "string" },
    },
    LabStorageType = "string",
    Location = "string",
    MandatoryArtifactsResourceIdsLinux = new[]
    {
        "string",
    },
    MandatoryArtifactsResourceIdsWindows = new[]
    {
        "string",
    },
    Name = "string",
    PremiumDataDisks = "string",
    Support = new AzureNative.DevTestLab.Inputs.LabSupportPropertiesArgs
    {
        Enabled = "string",
        Markdown = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := devtestlab.NewLab(ctx, "labResource", &devtestlab.LabArgs{
	ResourceGroupName: pulumi.String("string"),
	Announcement: &devtestlab.LabAnnouncementPropertiesArgs{
		Enabled:        pulumi.String("string"),
		ExpirationDate: pulumi.String("string"),
		Expired:        pulumi.Bool(false),
		Markdown:       pulumi.String("string"),
		Title:          pulumi.String("string"),
	},
	EnvironmentPermission: pulumi.String("string"),
	ExtendedProperties: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	LabStorageType: pulumi.String("string"),
	Location:       pulumi.String("string"),
	MandatoryArtifactsResourceIdsLinux: pulumi.StringArray{
		pulumi.String("string"),
	},
	MandatoryArtifactsResourceIdsWindows: pulumi.StringArray{
		pulumi.String("string"),
	},
	Name:             pulumi.String("string"),
	PremiumDataDisks: pulumi.String("string"),
	Support: &devtestlab.LabSupportPropertiesArgs{
		Enabled:  pulumi.String("string"),
		Markdown: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var labResource = new Lab("labResource", LabArgs.builder()
    .resourceGroupName("string")
    .announcement(LabAnnouncementPropertiesArgs.builder()
        .enabled("string")
        .expirationDate("string")
        .expired(false)
        .markdown("string")
        .title("string")
        .build())
    .environmentPermission("string")
    .extendedProperties(Map.of("string", "string"))
    .labStorageType("string")
    .location("string")
    .mandatoryArtifactsResourceIdsLinux("string")
    .mandatoryArtifactsResourceIdsWindows("string")
    .name("string")
    .premiumDataDisks("string")
    .support(LabSupportPropertiesArgs.builder()
        .enabled("string")
        .markdown("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
lab_resource = azure_native.devtestlab.Lab("labResource",
    resource_group_name="string",
    announcement={
        "enabled": "string",
        "expiration_date": "string",
        "expired": False,
        "markdown": "string",
        "title": "string",
    },
    environment_permission="string",
    extended_properties={
        "string": "string",
    },
    lab_storage_type="string",
    location="string",
    mandatory_artifacts_resource_ids_linux=["string"],
    mandatory_artifacts_resource_ids_windows=["string"],
    name="string",
    premium_data_disks="string",
    support={
        "enabled": "string",
        "markdown": "string",
    },
    tags={
        "string": "string",
    })
Copy
const labResource = new azure_native.devtestlab.Lab("labResource", {
    resourceGroupName: "string",
    announcement: {
        enabled: "string",
        expirationDate: "string",
        expired: false,
        markdown: "string",
        title: "string",
    },
    environmentPermission: "string",
    extendedProperties: {
        string: "string",
    },
    labStorageType: "string",
    location: "string",
    mandatoryArtifactsResourceIdsLinux: ["string"],
    mandatoryArtifactsResourceIdsWindows: ["string"],
    name: "string",
    premiumDataDisks: "string",
    support: {
        enabled: "string",
        markdown: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:devtestlab:Lab
properties:
    announcement:
        enabled: string
        expirationDate: string
        expired: false
        markdown: string
        title: string
    environmentPermission: string
    extendedProperties:
        string: string
    labStorageType: string
    location: string
    mandatoryArtifactsResourceIdsLinux:
        - string
    mandatoryArtifactsResourceIdsWindows:
        - string
    name: string
    premiumDataDisks: string
    resourceGroupName: string
    support:
        enabled: string
        markdown: string
    tags:
        string: string
Copy

Lab Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Lab resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Announcement Pulumi.AzureNative.DevTestLab.Inputs.LabAnnouncementProperties
The properties of any lab announcement associated with this lab
EnvironmentPermission string | Pulumi.AzureNative.DevTestLab.EnvironmentPermission
The access rights to be granted to the user when provisioning an environment
ExtendedProperties Dictionary<string, string>
Extended properties of the lab used for experimental features
LabStorageType string | Pulumi.AzureNative.DevTestLab.StorageType
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
Location string
The location of the resource.
MandatoryArtifactsResourceIdsLinux List<string>
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.
MandatoryArtifactsResourceIdsWindows List<string>
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.
Name Changes to this property will trigger replacement. string
The name of the lab.
PremiumDataDisks string | Pulumi.AzureNative.DevTestLab.PremiumDataDisk
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.
Support Pulumi.AzureNative.DevTestLab.Inputs.LabSupportProperties
The properties of any lab support message associated with this lab
Tags Dictionary<string, string>
The tags of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Announcement LabAnnouncementPropertiesArgs
The properties of any lab announcement associated with this lab
EnvironmentPermission string | EnvironmentPermission
The access rights to be granted to the user when provisioning an environment
ExtendedProperties map[string]string
Extended properties of the lab used for experimental features
LabStorageType string | StorageType
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
Location string
The location of the resource.
MandatoryArtifactsResourceIdsLinux []string
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.
MandatoryArtifactsResourceIdsWindows []string
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.
Name Changes to this property will trigger replacement. string
The name of the lab.
PremiumDataDisks string | PremiumDataDisk
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.
Support LabSupportPropertiesArgs
The properties of any lab support message associated with this lab
Tags map[string]string
The tags of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
announcement LabAnnouncementProperties
The properties of any lab announcement associated with this lab
environmentPermission String | EnvironmentPermission
The access rights to be granted to the user when provisioning an environment
extendedProperties Map<String,String>
Extended properties of the lab used for experimental features
labStorageType String | StorageType
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
location String
The location of the resource.
mandatoryArtifactsResourceIdsLinux List<String>
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.
mandatoryArtifactsResourceIdsWindows List<String>
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.
name Changes to this property will trigger replacement. String
The name of the lab.
premiumDataDisks String | PremiumDataDisk
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.
support LabSupportProperties
The properties of any lab support message associated with this lab
tags Map<String,String>
The tags of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
announcement LabAnnouncementProperties
The properties of any lab announcement associated with this lab
environmentPermission string | EnvironmentPermission
The access rights to be granted to the user when provisioning an environment
extendedProperties {[key: string]: string}
Extended properties of the lab used for experimental features
labStorageType string | StorageType
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
location string
The location of the resource.
mandatoryArtifactsResourceIdsLinux string[]
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.
mandatoryArtifactsResourceIdsWindows string[]
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.
name Changes to this property will trigger replacement. string
The name of the lab.
premiumDataDisks string | PremiumDataDisk
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.
support LabSupportProperties
The properties of any lab support message associated with this lab
tags {[key: string]: string}
The tags of the resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
announcement LabAnnouncementPropertiesArgs
The properties of any lab announcement associated with this lab
environment_permission str | EnvironmentPermission
The access rights to be granted to the user when provisioning an environment
extended_properties Mapping[str, str]
Extended properties of the lab used for experimental features
lab_storage_type str | StorageType
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
location str
The location of the resource.
mandatory_artifacts_resource_ids_linux Sequence[str]
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.
mandatory_artifacts_resource_ids_windows Sequence[str]
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.
name Changes to this property will trigger replacement. str
The name of the lab.
premium_data_disks str | PremiumDataDisk
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.
support LabSupportPropertiesArgs
The properties of any lab support message associated with this lab
tags Mapping[str, str]
The tags of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
announcement Property Map
The properties of any lab announcement associated with this lab
environmentPermission String | "Reader" | "Contributor"
The access rights to be granted to the user when provisioning an environment
extendedProperties Map<String>
Extended properties of the lab used for experimental features
labStorageType String | "Standard" | "Premium" | "StandardSSD"
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.
location String
The location of the resource.
mandatoryArtifactsResourceIdsLinux List<String>
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.
mandatoryArtifactsResourceIdsWindows List<String>
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.
name Changes to this property will trigger replacement. String
The name of the lab.
premiumDataDisks String | "Disabled" | "Enabled"
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.
support Property Map
The properties of any lab support message associated with this lab
tags Map<String>
The tags of the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Lab resource produces the following output properties:

ArtifactsStorageAccount string
The lab's artifact storage account.
AzureApiVersion string
The Azure API version of the resource.
CreatedDate string
The creation date of the lab.
DefaultPremiumStorageAccount string
The lab's default premium storage account.
DefaultStorageAccount string
The lab's default storage account.
Id string
The provider-assigned unique ID for this managed resource.
LoadBalancerId string
The load balancer used to for lab VMs that use shared IP address.
NetworkSecurityGroupId string
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
PremiumDataDiskStorageAccount string
The lab's premium data disk storage account.
ProvisioningState string
The provisioning status of the resource.
PublicIpId string
The public IP address for the lab's load balancer.
Type string
The type of the resource.
UniqueIdentifier string
The unique immutable identifier of a resource (Guid).
VaultName string
The lab's Key vault.
VmCreationResourceGroup string
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.
ArtifactsStorageAccount string
The lab's artifact storage account.
AzureApiVersion string
The Azure API version of the resource.
CreatedDate string
The creation date of the lab.
DefaultPremiumStorageAccount string
The lab's default premium storage account.
DefaultStorageAccount string
The lab's default storage account.
Id string
The provider-assigned unique ID for this managed resource.
LoadBalancerId string
The load balancer used to for lab VMs that use shared IP address.
NetworkSecurityGroupId string
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
PremiumDataDiskStorageAccount string
The lab's premium data disk storage account.
ProvisioningState string
The provisioning status of the resource.
PublicIpId string
The public IP address for the lab's load balancer.
Type string
The type of the resource.
UniqueIdentifier string
The unique immutable identifier of a resource (Guid).
VaultName string
The lab's Key vault.
VmCreationResourceGroup string
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.
artifactsStorageAccount String
The lab's artifact storage account.
azureApiVersion String
The Azure API version of the resource.
createdDate String
The creation date of the lab.
defaultPremiumStorageAccount String
The lab's default premium storage account.
defaultStorageAccount String
The lab's default storage account.
id String
The provider-assigned unique ID for this managed resource.
loadBalancerId String
The load balancer used to for lab VMs that use shared IP address.
networkSecurityGroupId String
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
premiumDataDiskStorageAccount String
The lab's premium data disk storage account.
provisioningState String
The provisioning status of the resource.
publicIpId String
The public IP address for the lab's load balancer.
type String
The type of the resource.
uniqueIdentifier String
The unique immutable identifier of a resource (Guid).
vaultName String
The lab's Key vault.
vmCreationResourceGroup String
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.
artifactsStorageAccount string
The lab's artifact storage account.
azureApiVersion string
The Azure API version of the resource.
createdDate string
The creation date of the lab.
defaultPremiumStorageAccount string
The lab's default premium storage account.
defaultStorageAccount string
The lab's default storage account.
id string
The provider-assigned unique ID for this managed resource.
loadBalancerId string
The load balancer used to for lab VMs that use shared IP address.
networkSecurityGroupId string
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
premiumDataDiskStorageAccount string
The lab's premium data disk storage account.
provisioningState string
The provisioning status of the resource.
publicIpId string
The public IP address for the lab's load balancer.
type string
The type of the resource.
uniqueIdentifier string
The unique immutable identifier of a resource (Guid).
vaultName string
The lab's Key vault.
vmCreationResourceGroup string
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.
artifacts_storage_account str
The lab's artifact storage account.
azure_api_version str
The Azure API version of the resource.
created_date str
The creation date of the lab.
default_premium_storage_account str
The lab's default premium storage account.
default_storage_account str
The lab's default storage account.
id str
The provider-assigned unique ID for this managed resource.
load_balancer_id str
The load balancer used to for lab VMs that use shared IP address.
network_security_group_id str
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
premium_data_disk_storage_account str
The lab's premium data disk storage account.
provisioning_state str
The provisioning status of the resource.
public_ip_id str
The public IP address for the lab's load balancer.
type str
The type of the resource.
unique_identifier str
The unique immutable identifier of a resource (Guid).
vault_name str
The lab's Key vault.
vm_creation_resource_group str
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.
artifactsStorageAccount String
The lab's artifact storage account.
azureApiVersion String
The Azure API version of the resource.
createdDate String
The creation date of the lab.
defaultPremiumStorageAccount String
The lab's default premium storage account.
defaultStorageAccount String
The lab's default storage account.
id String
The provider-assigned unique ID for this managed resource.
loadBalancerId String
The load balancer used to for lab VMs that use shared IP address.
networkSecurityGroupId String
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.
premiumDataDiskStorageAccount String
The lab's premium data disk storage account.
provisioningState String
The provisioning status of the resource.
publicIpId String
The public IP address for the lab's load balancer.
type String
The type of the resource.
uniqueIdentifier String
The unique immutable identifier of a resource (Guid).
vaultName String
The lab's Key vault.
vmCreationResourceGroup String
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.

Supporting Types

EnableStatus
, EnableStatusArgs

Enabled
Enabled
Disabled
Disabled
EnableStatusEnabled
Enabled
EnableStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

EnvironmentPermission
, EnvironmentPermissionArgs

Reader
Reader
Contributor
Contributor
EnvironmentPermissionReader
Reader
EnvironmentPermissionContributor
Contributor
Reader
Reader
Contributor
Contributor
Reader
Reader
Contributor
Contributor
READER
Reader
CONTRIBUTOR
Contributor
"Reader"
Reader
"Contributor"
Contributor

LabAnnouncementProperties
, LabAnnouncementPropertiesArgs

Enabled string | Pulumi.AzureNative.DevTestLab.EnableStatus
Is the lab announcement active/enabled at this time?
ExpirationDate string
The time at which the announcement expires (null for never)
Expired bool
Has this announcement expired?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Title string
The plain text title for the lab announcement
Enabled string | EnableStatus
Is the lab announcement active/enabled at this time?
ExpirationDate string
The time at which the announcement expires (null for never)
Expired bool
Has this announcement expired?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Title string
The plain text title for the lab announcement
enabled String | EnableStatus
Is the lab announcement active/enabled at this time?
expirationDate String
The time at which the announcement expires (null for never)
expired Boolean
Has this announcement expired?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title String
The plain text title for the lab announcement
enabled string | EnableStatus
Is the lab announcement active/enabled at this time?
expirationDate string
The time at which the announcement expires (null for never)
expired boolean
Has this announcement expired?
markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title string
The plain text title for the lab announcement
enabled str | EnableStatus
Is the lab announcement active/enabled at this time?
expiration_date str
The time at which the announcement expires (null for never)
expired bool
Has this announcement expired?
markdown str
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title str
The plain text title for the lab announcement
enabled String | "Enabled" | "Disabled"
Is the lab announcement active/enabled at this time?
expirationDate String
The time at which the announcement expires (null for never)
expired Boolean
Has this announcement expired?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title String
The plain text title for the lab announcement

LabAnnouncementPropertiesResponse
, LabAnnouncementPropertiesResponseArgs

ProvisioningState This property is required. string
The provisioning status of the resource.
UniqueIdentifier This property is required. string
The unique immutable identifier of a resource (Guid).
Enabled string
Is the lab announcement active/enabled at this time?
ExpirationDate string
The time at which the announcement expires (null for never)
Expired bool
Has this announcement expired?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Title string
The plain text title for the lab announcement
ProvisioningState This property is required. string
The provisioning status of the resource.
UniqueIdentifier This property is required. string
The unique immutable identifier of a resource (Guid).
Enabled string
Is the lab announcement active/enabled at this time?
ExpirationDate string
The time at which the announcement expires (null for never)
Expired bool
Has this announcement expired?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Title string
The plain text title for the lab announcement
provisioningState This property is required. String
The provisioning status of the resource.
uniqueIdentifier This property is required. String
The unique immutable identifier of a resource (Guid).
enabled String
Is the lab announcement active/enabled at this time?
expirationDate String
The time at which the announcement expires (null for never)
expired Boolean
Has this announcement expired?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title String
The plain text title for the lab announcement
provisioningState This property is required. string
The provisioning status of the resource.
uniqueIdentifier This property is required. string
The unique immutable identifier of a resource (Guid).
enabled string
Is the lab announcement active/enabled at this time?
expirationDate string
The time at which the announcement expires (null for never)
expired boolean
Has this announcement expired?
markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title string
The plain text title for the lab announcement
provisioning_state This property is required. str
The provisioning status of the resource.
unique_identifier This property is required. str
The unique immutable identifier of a resource (Guid).
enabled str
Is the lab announcement active/enabled at this time?
expiration_date str
The time at which the announcement expires (null for never)
expired bool
Has this announcement expired?
markdown str
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title str
The plain text title for the lab announcement
provisioningState This property is required. String
The provisioning status of the resource.
uniqueIdentifier This property is required. String
The unique immutable identifier of a resource (Guid).
enabled String
Is the lab announcement active/enabled at this time?
expirationDate String
The time at which the announcement expires (null for never)
expired Boolean
Has this announcement expired?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
title String
The plain text title for the lab announcement

LabSupportProperties
, LabSupportPropertiesArgs

Enabled string | Pulumi.AzureNative.DevTestLab.EnableStatus
Is the lab support banner active/enabled at this time?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Enabled string | EnableStatus
Is the lab support banner active/enabled at this time?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled String | EnableStatus
Is the lab support banner active/enabled at this time?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled string | EnableStatus
Is the lab support banner active/enabled at this time?
markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled str | EnableStatus
Is the lab support banner active/enabled at this time?
markdown str
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled String | "Enabled" | "Disabled"
Is the lab support banner active/enabled at this time?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.

LabSupportPropertiesResponse
, LabSupportPropertiesResponseArgs

Enabled string
Is the lab support banner active/enabled at this time?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
Enabled string
Is the lab support banner active/enabled at this time?
Markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled String
Is the lab support banner active/enabled at this time?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled string
Is the lab support banner active/enabled at this time?
markdown string
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled str
Is the lab support banner active/enabled at this time?
markdown str
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.
enabled String
Is the lab support banner active/enabled at this time?
markdown String
The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.

PremiumDataDisk
, PremiumDataDiskArgs

Disabled
Disabled
Enabled
Enabled
PremiumDataDiskDisabled
Disabled
PremiumDataDiskEnabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
DISABLED
Disabled
ENABLED
Enabled
"Disabled"
Disabled
"Enabled"
Enabled

StorageType
, StorageTypeArgs

Standard
Standard
Premium
Premium
StandardSSD
StandardSSD
StorageTypeStandard
Standard
StorageTypePremium
Premium
StorageTypeStandardSSD
StandardSSD
Standard
Standard
Premium
Premium
StandardSSD
StandardSSD
Standard
Standard
Premium
Premium
StandardSSD
StandardSSD
STANDARD
Standard
PREMIUM
Premium
STANDARD_SSD
StandardSSD
"Standard"
Standard
"Premium"
Premium
"StandardSSD"
StandardSSD

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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi