We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Lab Service Lab.
!> Note: This resource is being deprecated by Azure. This resource will be removed in version 4.0 of the provider.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleLab = new azure.lab.Lab("example", {
name: "example-lab",
resourceGroupName: example.name,
location: example.location,
title: "Test Title",
security: {
openAccessEnabled: false,
},
virtualMachine: {
adminUser: {
username: "testadmin",
password: "Password1234!",
},
imageReference: {
publisher: "Canonical",
offer: "0001-com-ubuntu-server-jammy",
sku: "22_04-lts",
version: "latest",
},
sku: {
name: "Classic_Fsv2_2_4GB_128_S_SSD",
capacity: 0,
},
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_lab = azure.lab.Lab("example",
name="example-lab",
resource_group_name=example.name,
location=example.location,
title="Test Title",
security={
"open_access_enabled": False,
},
virtual_machine={
"admin_user": {
"username": "testadmin",
"password": "Password1234!",
},
"image_reference": {
"publisher": "Canonical",
"offer": "0001-com-ubuntu-server-jammy",
"sku": "22_04-lts",
"version": "latest",
},
"sku": {
"name": "Classic_Fsv2_2_4GB_128_S_SSD",
"capacity": 0,
},
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = lab.NewLab(ctx, "example", &lab.LabArgs{
Name: pulumi.String("example-lab"),
ResourceGroupName: example.Name,
Location: example.Location,
Title: pulumi.String("Test Title"),
Security: &lab.LabSecurityArgs{
OpenAccessEnabled: pulumi.Bool(false),
},
VirtualMachine: &lab.LabVirtualMachineArgs{
AdminUser: &lab.LabVirtualMachineAdminUserArgs{
Username: pulumi.String("testadmin"),
Password: pulumi.String("Password1234!"),
},
ImageReference: &lab.LabVirtualMachineImageReferenceArgs{
Publisher: pulumi.String("Canonical"),
Offer: pulumi.String("0001-com-ubuntu-server-jammy"),
Sku: pulumi.String("22_04-lts"),
Version: pulumi.String("latest"),
},
Sku: &lab.LabVirtualMachineSkuArgs{
Name: pulumi.String("Classic_Fsv2_2_4GB_128_S_SSD"),
Capacity: pulumi.Int(0),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleLab = new Azure.Lab.Lab("example", new()
{
Name = "example-lab",
ResourceGroupName = example.Name,
Location = example.Location,
Title = "Test Title",
Security = new Azure.Lab.Inputs.LabSecurityArgs
{
OpenAccessEnabled = false,
},
VirtualMachine = new Azure.Lab.Inputs.LabVirtualMachineArgs
{
AdminUser = new Azure.Lab.Inputs.LabVirtualMachineAdminUserArgs
{
Username = "testadmin",
Password = "Password1234!",
},
ImageReference = new Azure.Lab.Inputs.LabVirtualMachineImageReferenceArgs
{
Publisher = "Canonical",
Offer = "0001-com-ubuntu-server-jammy",
Sku = "22_04-lts",
Version = "latest",
},
Sku = new Azure.Lab.Inputs.LabVirtualMachineSkuArgs
{
Name = "Classic_Fsv2_2_4GB_128_S_SSD",
Capacity = 0,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.lab.Lab;
import com.pulumi.azure.lab.LabArgs;
import com.pulumi.azure.lab.inputs.LabSecurityArgs;
import com.pulumi.azure.lab.inputs.LabVirtualMachineArgs;
import com.pulumi.azure.lab.inputs.LabVirtualMachineAdminUserArgs;
import com.pulumi.azure.lab.inputs.LabVirtualMachineImageReferenceArgs;
import com.pulumi.azure.lab.inputs.LabVirtualMachineSkuArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleLab = new Lab("exampleLab", LabArgs.builder()
.name("example-lab")
.resourceGroupName(example.name())
.location(example.location())
.title("Test Title")
.security(LabSecurityArgs.builder()
.openAccessEnabled(false)
.build())
.virtualMachine(LabVirtualMachineArgs.builder()
.adminUser(LabVirtualMachineAdminUserArgs.builder()
.username("testadmin")
.password("Password1234!")
.build())
.imageReference(LabVirtualMachineImageReferenceArgs.builder()
.publisher("Canonical")
.offer("0001-com-ubuntu-server-jammy")
.sku("22_04-lts")
.version("latest")
.build())
.sku(LabVirtualMachineSkuArgs.builder()
.name("Classic_Fsv2_2_4GB_128_S_SSD")
.capacity(0)
.build())
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleLab:
type: azure:lab:Lab
name: example
properties:
name: example-lab
resourceGroupName: ${example.name}
location: ${example.location}
title: Test Title
security:
openAccessEnabled: false
virtualMachine:
adminUser:
username: testadmin
password: Password1234!
imageReference:
publisher: Canonical
offer: 0001-com-ubuntu-server-jammy
sku: 22_04-lts
version: latest
sku:
name: Classic_Fsv2_2_4GB_128_S_SSD
capacity: 0
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,
connection_setting: Optional[LabConnectionSettingArgs] = None,
virtual_machine: Optional[LabVirtualMachineArgs] = None,
title: Optional[str] = None,
security: Optional[LabSecurityArgs] = None,
lab_plan_id: Optional[str] = None,
network: Optional[LabNetworkArgs] = None,
name: Optional[str] = None,
roster: Optional[LabRosterArgs] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
auto_shutdown: Optional[LabAutoShutdownArgs] = None,
description: Optional[str] = None)func NewLab(ctx *Context, name string, args LabArgs, opts ...ResourceOption) (*Lab, error)public Lab(string name, LabArgs args, CustomResourceOptions? opts = null)type: azure:lab:Lab
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LabArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args LabArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LabArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 azureLabResource = new Azure.Lab.Lab("azureLabResource", new()
{
ResourceGroupName = "string",
ConnectionSetting = new Azure.Lab.Inputs.LabConnectionSettingArgs
{
ClientRdpAccess = "string",
ClientSshAccess = "string",
},
VirtualMachine = new Azure.Lab.Inputs.LabVirtualMachineArgs
{
AdminUser = new Azure.Lab.Inputs.LabVirtualMachineAdminUserArgs
{
Password = "string",
Username = "string",
},
ImageReference = new Azure.Lab.Inputs.LabVirtualMachineImageReferenceArgs
{
Id = "string",
Offer = "string",
Publisher = "string",
Sku = "string",
Version = "string",
},
Sku = new Azure.Lab.Inputs.LabVirtualMachineSkuArgs
{
Capacity = 0,
Name = "string",
},
AdditionalCapabilityGpuDriversInstalled = false,
CreateOption = "string",
NonAdminUser = new Azure.Lab.Inputs.LabVirtualMachineNonAdminUserArgs
{
Password = "string",
Username = "string",
},
SharedPasswordEnabled = false,
UsageQuota = "string",
},
Title = "string",
Security = new Azure.Lab.Inputs.LabSecurityArgs
{
OpenAccessEnabled = false,
RegistrationCode = "string",
},
LabPlanId = "string",
Network = new Azure.Lab.Inputs.LabNetworkArgs
{
LoadBalancerId = "string",
PublicIpId = "string",
SubnetId = "string",
},
Name = "string",
Roster = new Azure.Lab.Inputs.LabRosterArgs
{
ActiveDirectoryGroupId = "string",
LmsInstance = "string",
LtiClientId = "string",
LtiContextId = "string",
LtiRosterEndpoint = "string",
},
Location = "string",
Tags =
{
{ "string", "string" },
},
AutoShutdown = new Azure.Lab.Inputs.LabAutoShutdownArgs
{
DisconnectDelay = "string",
IdleDelay = "string",
NoConnectDelay = "string",
ShutdownOnIdle = "string",
},
Description = "string",
});
example, err := lab.NewLab(ctx, "azureLabResource", &lab.LabArgs{
ResourceGroupName: pulumi.String("string"),
ConnectionSetting: &lab.LabConnectionSettingArgs{
ClientRdpAccess: pulumi.String("string"),
ClientSshAccess: pulumi.String("string"),
},
VirtualMachine: &lab.LabVirtualMachineArgs{
AdminUser: &lab.LabVirtualMachineAdminUserArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
ImageReference: &lab.LabVirtualMachineImageReferenceArgs{
Id: pulumi.String("string"),
Offer: pulumi.String("string"),
Publisher: pulumi.String("string"),
Sku: pulumi.String("string"),
Version: pulumi.String("string"),
},
Sku: &lab.LabVirtualMachineSkuArgs{
Capacity: pulumi.Int(0),
Name: pulumi.String("string"),
},
AdditionalCapabilityGpuDriversInstalled: pulumi.Bool(false),
CreateOption: pulumi.String("string"),
NonAdminUser: &lab.LabVirtualMachineNonAdminUserArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
SharedPasswordEnabled: pulumi.Bool(false),
UsageQuota: pulumi.String("string"),
},
Title: pulumi.String("string"),
Security: &lab.LabSecurityArgs{
OpenAccessEnabled: pulumi.Bool(false),
RegistrationCode: pulumi.String("string"),
},
LabPlanId: pulumi.String("string"),
Network: &lab.LabNetworkArgs{
LoadBalancerId: pulumi.String("string"),
PublicIpId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
},
Name: pulumi.String("string"),
Roster: &lab.LabRosterArgs{
ActiveDirectoryGroupId: pulumi.String("string"),
LmsInstance: pulumi.String("string"),
LtiClientId: pulumi.String("string"),
LtiContextId: pulumi.String("string"),
LtiRosterEndpoint: pulumi.String("string"),
},
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
AutoShutdown: &lab.LabAutoShutdownArgs{
DisconnectDelay: pulumi.String("string"),
IdleDelay: pulumi.String("string"),
NoConnectDelay: pulumi.String("string"),
ShutdownOnIdle: pulumi.String("string"),
},
Description: pulumi.String("string"),
})
var azureLabResource = new com.pulumi.azure.lab.Lab("azureLabResource", com.pulumi.azure.lab.LabArgs.builder()
.resourceGroupName("string")
.connectionSetting(LabConnectionSettingArgs.builder()
.clientRdpAccess("string")
.clientSshAccess("string")
.build())
.virtualMachine(LabVirtualMachineArgs.builder()
.adminUser(LabVirtualMachineAdminUserArgs.builder()
.password("string")
.username("string")
.build())
.imageReference(LabVirtualMachineImageReferenceArgs.builder()
.id("string")
.offer("string")
.publisher("string")
.sku("string")
.version("string")
.build())
.sku(LabVirtualMachineSkuArgs.builder()
.capacity(0)
.name("string")
.build())
.additionalCapabilityGpuDriversInstalled(false)
.createOption("string")
.nonAdminUser(LabVirtualMachineNonAdminUserArgs.builder()
.password("string")
.username("string")
.build())
.sharedPasswordEnabled(false)
.usageQuota("string")
.build())
.title("string")
.security(LabSecurityArgs.builder()
.openAccessEnabled(false)
.registrationCode("string")
.build())
.labPlanId("string")
.network(LabNetworkArgs.builder()
.loadBalancerId("string")
.publicIpId("string")
.subnetId("string")
.build())
.name("string")
.roster(LabRosterArgs.builder()
.activeDirectoryGroupId("string")
.lmsInstance("string")
.ltiClientId("string")
.ltiContextId("string")
.ltiRosterEndpoint("string")
.build())
.location("string")
.tags(Map.of("string", "string"))
.autoShutdown(LabAutoShutdownArgs.builder()
.disconnectDelay("string")
.idleDelay("string")
.noConnectDelay("string")
.shutdownOnIdle("string")
.build())
.description("string")
.build());
azure_lab_resource = azure.lab.Lab("azureLabResource",
resource_group_name="string",
connection_setting={
"client_rdp_access": "string",
"client_ssh_access": "string",
},
virtual_machine={
"admin_user": {
"password": "string",
"username": "string",
},
"image_reference": {
"id": "string",
"offer": "string",
"publisher": "string",
"sku": "string",
"version": "string",
},
"sku": {
"capacity": 0,
"name": "string",
},
"additional_capability_gpu_drivers_installed": False,
"create_option": "string",
"non_admin_user": {
"password": "string",
"username": "string",
},
"shared_password_enabled": False,
"usage_quota": "string",
},
title="string",
security={
"open_access_enabled": False,
"registration_code": "string",
},
lab_plan_id="string",
network={
"load_balancer_id": "string",
"public_ip_id": "string",
"subnet_id": "string",
},
name="string",
roster={
"active_directory_group_id": "string",
"lms_instance": "string",
"lti_client_id": "string",
"lti_context_id": "string",
"lti_roster_endpoint": "string",
},
location="string",
tags={
"string": "string",
},
auto_shutdown={
"disconnect_delay": "string",
"idle_delay": "string",
"no_connect_delay": "string",
"shutdown_on_idle": "string",
},
description="string")
const azureLabResource = new azure.lab.Lab("azureLabResource", {
resourceGroupName: "string",
connectionSetting: {
clientRdpAccess: "string",
clientSshAccess: "string",
},
virtualMachine: {
adminUser: {
password: "string",
username: "string",
},
imageReference: {
id: "string",
offer: "string",
publisher: "string",
sku: "string",
version: "string",
},
sku: {
capacity: 0,
name: "string",
},
additionalCapabilityGpuDriversInstalled: false,
createOption: "string",
nonAdminUser: {
password: "string",
username: "string",
},
sharedPasswordEnabled: false,
usageQuota: "string",
},
title: "string",
security: {
openAccessEnabled: false,
registrationCode: "string",
},
labPlanId: "string",
network: {
loadBalancerId: "string",
publicIpId: "string",
subnetId: "string",
},
name: "string",
roster: {
activeDirectoryGroupId: "string",
lmsInstance: "string",
ltiClientId: "string",
ltiContextId: "string",
ltiRosterEndpoint: "string",
},
location: "string",
tags: {
string: "string",
},
autoShutdown: {
disconnectDelay: "string",
idleDelay: "string",
noConnectDelay: "string",
shutdownOnIdle: "string",
},
description: "string",
});
type: azure:lab:Lab
properties:
autoShutdown:
disconnectDelay: string
idleDelay: string
noConnectDelay: string
shutdownOnIdle: string
connectionSetting:
clientRdpAccess: string
clientSshAccess: string
description: string
labPlanId: string
location: string
name: string
network:
loadBalancerId: string
publicIpId: string
subnetId: string
resourceGroupName: string
roster:
activeDirectoryGroupId: string
lmsInstance: string
ltiClientId: string
ltiContextId: string
ltiRosterEndpoint: string
security:
openAccessEnabled: false
registrationCode: string
tags:
string: string
title: string
virtualMachine:
additionalCapabilityGpuDriversInstalled: false
adminUser:
password: string
username: string
createOption: string
imageReference:
id: string
offer: string
publisher: string
sku: string
version: string
nonAdminUser:
password: string
username: string
sharedPasswordEnabled: false
sku:
capacity: 0
name: string
usageQuota: string
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:
- Connection
Setting LabConnection Setting - A
connection_settingblock as defined below. - Resource
Group stringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Security
Lab
Security - A
securityblock as defined below. - Title string
- The title of the Lab Service Lab.
- Virtual
Machine LabVirtual Machine - A
virtual_machineblock as defined below. - Auto
Shutdown LabAuto Shutdown - An
auto_shutdownblock as defined below. - Description string
- The description of the Lab Service Lab.
- Lab
Plan stringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - Location string
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- Network
Lab
Network - A
networkblock as defined below. - Roster
Lab
Roster - A
rosterblock as defined below. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Lab Service Lab.
- Connection
Setting LabConnection Setting Args - A
connection_settingblock as defined below. - Resource
Group stringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Security
Lab
Security Args - A
securityblock as defined below. - Title string
- The title of the Lab Service Lab.
- Virtual
Machine LabVirtual Machine Args - A
virtual_machineblock as defined below. - Auto
Shutdown LabAuto Shutdown Args - An
auto_shutdownblock as defined below. - Description string
- The description of the Lab Service Lab.
- Lab
Plan stringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - Location string
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- Network
Lab
Network Args - A
networkblock as defined below. - Roster
Lab
Roster Args - A
rosterblock as defined below. - map[string]string
- A mapping of tags which should be assigned to the Lab Service Lab.
- connection
Setting LabConnection Setting - A
connection_settingblock as defined below. - resource
Group StringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- security
Lab
Security - A
securityblock as defined below. - title String
- The title of the Lab Service Lab.
- virtual
Machine LabVirtual Machine - A
virtual_machineblock as defined below. - auto
Shutdown LabAuto Shutdown - An
auto_shutdownblock as defined below. - description String
- The description of the Lab Service Lab.
- lab
Plan StringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location String
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network
Lab
Network - A
networkblock as defined below. - roster
Lab
Roster - A
rosterblock as defined below. - Map<String,String>
- A mapping of tags which should be assigned to the Lab Service Lab.
- connection
Setting LabConnection Setting - A
connection_settingblock as defined below. - resource
Group stringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- security
Lab
Security - A
securityblock as defined below. - title string
- The title of the Lab Service Lab.
- virtual
Machine LabVirtual Machine - A
virtual_machineblock as defined below. - auto
Shutdown LabAuto Shutdown - An
auto_shutdownblock as defined below. - description string
- The description of the Lab Service Lab.
- lab
Plan stringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location string
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name string
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network
Lab
Network - A
networkblock as defined below. - roster
Lab
Roster - A
rosterblock as defined below. - {[key: string]: string}
- A mapping of tags which should be assigned to the Lab Service Lab.
- connection_
setting LabConnection Setting Args - A
connection_settingblock as defined below. - resource_
group_ strname - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- security
Lab
Security Args - A
securityblock as defined below. - title str
- The title of the Lab Service Lab.
- virtual_
machine LabVirtual Machine Args - A
virtual_machineblock as defined below. - auto_
shutdown LabAuto Shutdown Args - An
auto_shutdownblock as defined below. - description str
- The description of the Lab Service Lab.
- lab_
plan_ strid - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location str
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name str
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network
Lab
Network Args - A
networkblock as defined below. - roster
Lab
Roster Args - A
rosterblock as defined below. - Mapping[str, str]
- A mapping of tags which should be assigned to the Lab Service Lab.
- connection
Setting Property Map - A
connection_settingblock as defined below. - resource
Group StringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- security Property Map
- A
securityblock as defined below. - title String
- The title of the Lab Service Lab.
- virtual
Machine Property Map - A
virtual_machineblock as defined below. - auto
Shutdown Property Map - An
auto_shutdownblock as defined below. - description String
- The description of the Lab Service Lab.
- lab
Plan StringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location String
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network Property Map
- A
networkblock as defined below. - roster Property Map
- A
rosterblock as defined below. - Map<String>
- A mapping of tags which should be assigned to the Lab Service Lab.
Outputs
All input properties are implicitly available as output properties. Additionally, the Lab resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Lab Resource
Get an existing Lab resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LabState, opts?: CustomResourceOptions): Lab@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_shutdown: Optional[LabAutoShutdownArgs] = None,
connection_setting: Optional[LabConnectionSettingArgs] = None,
description: Optional[str] = None,
lab_plan_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
network: Optional[LabNetworkArgs] = None,
resource_group_name: Optional[str] = None,
roster: Optional[LabRosterArgs] = None,
security: Optional[LabSecurityArgs] = None,
tags: Optional[Mapping[str, str]] = None,
title: Optional[str] = None,
virtual_machine: Optional[LabVirtualMachineArgs] = None) -> Labfunc GetLab(ctx *Context, name string, id IDInput, state *LabState, opts ...ResourceOption) (*Lab, error)public static Lab Get(string name, Input<string> id, LabState? state, CustomResourceOptions? opts = null)public static Lab get(String name, Output<String> id, LabState state, CustomResourceOptions options)resources: _: type: azure:lab:Lab get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Shutdown LabAuto Shutdown - An
auto_shutdownblock as defined below. - Connection
Setting LabConnection Setting - A
connection_settingblock as defined below. - Description string
- The description of the Lab Service Lab.
- Lab
Plan stringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - Location string
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- Network
Lab
Network - A
networkblock as defined below. - Resource
Group stringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Roster
Lab
Roster - A
rosterblock as defined below. - Security
Lab
Security - A
securityblock as defined below. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Lab Service Lab.
- Title string
- The title of the Lab Service Lab.
- Virtual
Machine LabVirtual Machine - A
virtual_machineblock as defined below.
- Auto
Shutdown LabAuto Shutdown Args - An
auto_shutdownblock as defined below. - Connection
Setting LabConnection Setting Args - A
connection_settingblock as defined below. - Description string
- The description of the Lab Service Lab.
- Lab
Plan stringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - Location string
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Name string
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- Network
Lab
Network Args - A
networkblock as defined below. - Resource
Group stringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- Roster
Lab
Roster Args - A
rosterblock as defined below. - Security
Lab
Security Args - A
securityblock as defined below. - map[string]string
- A mapping of tags which should be assigned to the Lab Service Lab.
- Title string
- The title of the Lab Service Lab.
- Virtual
Machine LabVirtual Machine Args - A
virtual_machineblock as defined below.
- auto
Shutdown LabAuto Shutdown - An
auto_shutdownblock as defined below. - connection
Setting LabConnection Setting - A
connection_settingblock as defined below. - description String
- The description of the Lab Service Lab.
- lab
Plan StringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location String
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network
Lab
Network - A
networkblock as defined below. - resource
Group StringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- roster
Lab
Roster - A
rosterblock as defined below. - security
Lab
Security - A
securityblock as defined below. - Map<String,String>
- A mapping of tags which should be assigned to the Lab Service Lab.
- title String
- The title of the Lab Service Lab.
- virtual
Machine LabVirtual Machine - A
virtual_machineblock as defined below.
- auto
Shutdown LabAuto Shutdown - An
auto_shutdownblock as defined below. - connection
Setting LabConnection Setting - A
connection_settingblock as defined below. - description string
- The description of the Lab Service Lab.
- lab
Plan stringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location string
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name string
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network
Lab
Network - A
networkblock as defined below. - resource
Group stringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- roster
Lab
Roster - A
rosterblock as defined below. - security
Lab
Security - A
securityblock as defined below. - {[key: string]: string}
- A mapping of tags which should be assigned to the Lab Service Lab.
- title string
- The title of the Lab Service Lab.
- virtual
Machine LabVirtual Machine - A
virtual_machineblock as defined below.
- auto_
shutdown LabAuto Shutdown Args - An
auto_shutdownblock as defined below. - connection_
setting LabConnection Setting Args - A
connection_settingblock as defined below. - description str
- The description of the Lab Service Lab.
- lab_
plan_ strid - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location str
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name str
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network
Lab
Network Args - A
networkblock as defined below. - resource_
group_ strname - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- roster
Lab
Roster Args - A
rosterblock as defined below. - security
Lab
Security Args - A
securityblock as defined below. - Mapping[str, str]
- A mapping of tags which should be assigned to the Lab Service Lab.
- title str
- The title of the Lab Service Lab.
- virtual_
machine LabVirtual Machine Args - A
virtual_machineblock as defined below.
- auto
Shutdown Property Map - An
auto_shutdownblock as defined below. - connection
Setting Property Map - A
connection_settingblock as defined below. - description String
- The description of the Lab Service Lab.
- lab
Plan StringId - The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via
labs.azure.com. - location String
- The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- name String
- The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
- network Property Map
- A
networkblock as defined below. - resource
Group StringName - The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
- roster Property Map
- A
rosterblock as defined below. - security Property Map
- A
securityblock as defined below. - Map<String>
- A mapping of tags which should be assigned to the Lab Service Lab.
- title String
- The title of the Lab Service Lab.
- virtual
Machine Property Map - A
virtual_machineblock as defined below.
Supporting Types
LabAutoShutdown, LabAutoShutdownArgs
- Disconnect
Delay string The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownOnDisconnectisDisabledwhendisconnect_delayisn't specified.- Idle
Delay string - The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- No
Connect stringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownWhenNotConnectedisDisabledwhenno_connect_delayisn't specified.- Shutdown
On stringIdle A VM will get shutdown when it has idled for a period of time. Possible values are
LowUsageandUserAbsence.NOTE: This property is
Nonewhen it isn't specified. No need to setidle_delaywhenshutdown_on_idleisn't specified.
- Disconnect
Delay string The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownOnDisconnectisDisabledwhendisconnect_delayisn't specified.- Idle
Delay string - The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- No
Connect stringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownWhenNotConnectedisDisabledwhenno_connect_delayisn't specified.- Shutdown
On stringIdle A VM will get shutdown when it has idled for a period of time. Possible values are
LowUsageandUserAbsence.NOTE: This property is
Nonewhen it isn't specified. No need to setidle_delaywhenshutdown_on_idleisn't specified.
- disconnect
Delay String The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownOnDisconnectisDisabledwhendisconnect_delayisn't specified.- idle
Delay String - The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no
Connect StringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownWhenNotConnectedisDisabledwhenno_connect_delayisn't specified.- shutdown
On StringIdle A VM will get shutdown when it has idled for a period of time. Possible values are
LowUsageandUserAbsence.NOTE: This property is
Nonewhen it isn't specified. No need to setidle_delaywhenshutdown_on_idleisn't specified.
- disconnect
Delay string The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownOnDisconnectisDisabledwhendisconnect_delayisn't specified.- idle
Delay string - The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no
Connect stringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownWhenNotConnectedisDisabledwhenno_connect_delayisn't specified.- shutdown
On stringIdle A VM will get shutdown when it has idled for a period of time. Possible values are
LowUsageandUserAbsence.NOTE: This property is
Nonewhen it isn't specified. No need to setidle_delaywhenshutdown_on_idleisn't specified.
- disconnect_
delay str The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownOnDisconnectisDisabledwhendisconnect_delayisn't specified.- idle_
delay str - The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no_
connect_ strdelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownWhenNotConnectedisDisabledwhenno_connect_delayisn't specified.- shutdown_
on_ stridle A VM will get shutdown when it has idled for a period of time. Possible values are
LowUsageandUserAbsence.NOTE: This property is
Nonewhen it isn't specified. No need to setidle_delaywhenshutdown_on_idleisn't specified.
- disconnect
Delay String The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownOnDisconnectisDisabledwhendisconnect_delayisn't specified.- idle
Delay String - The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no
Connect StringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
NOTE: The
shutdownWhenNotConnectedisDisabledwhenno_connect_delayisn't specified.- shutdown
On StringIdle A VM will get shutdown when it has idled for a period of time. Possible values are
LowUsageandUserAbsence.NOTE: This property is
Nonewhen it isn't specified. No need to setidle_delaywhenshutdown_on_idleisn't specified.
LabConnectionSetting, LabConnectionSettingArgs
- Client
Rdp stringAccess The enabled access level for Client Access over RDP. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.- Client
Ssh stringAccess The enabled access level for Client Access over SSH. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.
- Client
Rdp stringAccess The enabled access level for Client Access over RDP. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.- Client
Ssh stringAccess The enabled access level for Client Access over SSH. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.
- client
Rdp StringAccess The enabled access level for Client Access over RDP. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.- client
Ssh StringAccess The enabled access level for Client Access over SSH. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.
- client
Rdp stringAccess The enabled access level for Client Access over RDP. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.- client
Ssh stringAccess The enabled access level for Client Access over SSH. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.
- client_
rdp_ straccess The enabled access level for Client Access over RDP. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.- client_
ssh_ straccess The enabled access level for Client Access over SSH. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.
- client
Rdp StringAccess The enabled access level for Client Access over RDP. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.- client
Ssh StringAccess The enabled access level for Client Access over SSH. Possible value is
Public.NOTE: This property is
Nonewhen it isn't specified.
LabNetwork, LabNetworkArgs
- Load
Balancer stringId - The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
- Public
Ip stringId - The resource ID of the Public IP for the network profile of the Lab Service Lab.
- Subnet
Id string - The resource ID of the Subnet for the network profile of the Lab Service Lab.
- Load
Balancer stringId - The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
- Public
Ip stringId - The resource ID of the Public IP for the network profile of the Lab Service Lab.
- Subnet
Id string - The resource ID of the Subnet for the network profile of the Lab Service Lab.
- load
Balancer StringId - The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
- public
Ip StringId - The resource ID of the Public IP for the network profile of the Lab Service Lab.
- subnet
Id String - The resource ID of the Subnet for the network profile of the Lab Service Lab.
- load
Balancer stringId - The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
- public
Ip stringId - The resource ID of the Public IP for the network profile of the Lab Service Lab.
- subnet
Id string - The resource ID of the Subnet for the network profile of the Lab Service Lab.
- load_
balancer_ strid - The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
- public_
ip_ strid - The resource ID of the Public IP for the network profile of the Lab Service Lab.
- subnet_
id str - The resource ID of the Subnet for the network profile of the Lab Service Lab.
- load
Balancer StringId - The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
- public
Ip StringId - The resource ID of the Public IP for the network profile of the Lab Service Lab.
- subnet
Id String - The resource ID of the Subnet for the network profile of the Lab Service Lab.
LabRoster, LabRosterArgs
- Active
Directory stringGroup Id - The AAD group ID which this Lab Service Lab roster is populated from.
- Lms
Instance string - The base URI identifying the lms instance.
- Lti
Client stringId - The unique id of the Azure Lab Service tool in the lms.
- Lti
Context stringId - The unique context identifier for the Lab Service Lab in the lms.
- Lti
Roster stringEndpoint - The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
- Active
Directory stringGroup Id - The AAD group ID which this Lab Service Lab roster is populated from.
- Lms
Instance string - The base URI identifying the lms instance.
- Lti
Client stringId - The unique id of the Azure Lab Service tool in the lms.
- Lti
Context stringId - The unique context identifier for the Lab Service Lab in the lms.
- Lti
Roster stringEndpoint - The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
- active
Directory StringGroup Id - The AAD group ID which this Lab Service Lab roster is populated from.
- lms
Instance String - The base URI identifying the lms instance.
- lti
Client StringId - The unique id of the Azure Lab Service tool in the lms.
- lti
Context StringId - The unique context identifier for the Lab Service Lab in the lms.
- lti
Roster StringEndpoint - The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
- active
Directory stringGroup Id - The AAD group ID which this Lab Service Lab roster is populated from.
- lms
Instance string - The base URI identifying the lms instance.
- lti
Client stringId - The unique id of the Azure Lab Service tool in the lms.
- lti
Context stringId - The unique context identifier for the Lab Service Lab in the lms.
- lti
Roster stringEndpoint - The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
- active_
directory_ strgroup_ id - The AAD group ID which this Lab Service Lab roster is populated from.
- lms_
instance str - The base URI identifying the lms instance.
- lti_
client_ strid - The unique id of the Azure Lab Service tool in the lms.
- lti_
context_ strid - The unique context identifier for the Lab Service Lab in the lms.
- lti_
roster_ strendpoint - The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
- active
Directory StringGroup Id - The AAD group ID which this Lab Service Lab roster is populated from.
- lms
Instance String - The base URI identifying the lms instance.
- lti
Client StringId - The unique id of the Azure Lab Service tool in the lms.
- lti
Context StringId - The unique context identifier for the Lab Service Lab in the lms.
- lti
Roster StringEndpoint - The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
LabSecurity, LabSecurityArgs
- Open
Access boolEnabled - Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
- Registration
Code string - The registration code for the Lab Service Lab.
- Open
Access boolEnabled - Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
- Registration
Code string - The registration code for the Lab Service Lab.
- open
Access BooleanEnabled - Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
- registration
Code String - The registration code for the Lab Service Lab.
- open
Access booleanEnabled - Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
- registration
Code string - The registration code for the Lab Service Lab.
- open_
access_ boolenabled - Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
- registration_
code str - The registration code for the Lab Service Lab.
- open
Access BooleanEnabled - Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
- registration
Code String - The registration code for the Lab Service Lab.
LabVirtualMachine, LabVirtualMachineArgs
- Admin
User LabVirtual Machine Admin User - An
admin_userblock as defined below. - Image
Reference LabVirtual Machine Image Reference - An
image_referenceblock as defined below. - Sku
Lab
Virtual Machine Sku - A
skublock as defined below. - Additional
Capability boolGpu Drivers Installed - Is flagged to pre-install dedicated GPU drivers? Defaults to
false. Changing this forces a new resource to be created. - Create
Option string - The create option to indicate what Lab Service Lab VMs are created from. Possible values are
ImageandTemplateVM. Defaults toImage. Changing this forces a new resource to be created. - Non
Admin LabUser Virtual Machine Non Admin User - A
non_admin_userblock as defined below. - bool
- Is the shared password enabled with the same password for all user VMs? Defaults to
false. Changing this forces a new resource to be created. - Usage
Quota string - The initial quota allocated to each Lab Service Lab user. Defaults to
PT0S. This value must be formatted as an ISO 8601 string.
- Admin
User LabVirtual Machine Admin User - An
admin_userblock as defined below. - Image
Reference LabVirtual Machine Image Reference - An
image_referenceblock as defined below. - Sku
Lab
Virtual Machine Sku - A
skublock as defined below. - Additional
Capability boolGpu Drivers Installed - Is flagged to pre-install dedicated GPU drivers? Defaults to
false. Changing this forces a new resource to be created. - Create
Option string - The create option to indicate what Lab Service Lab VMs are created from. Possible values are
ImageandTemplateVM. Defaults toImage. Changing this forces a new resource to be created. - Non
Admin LabUser Virtual Machine Non Admin User - A
non_admin_userblock as defined below. - bool
- Is the shared password enabled with the same password for all user VMs? Defaults to
false. Changing this forces a new resource to be created. - Usage
Quota string - The initial quota allocated to each Lab Service Lab user. Defaults to
PT0S. This value must be formatted as an ISO 8601 string.
- admin
User LabVirtual Machine Admin User - An
admin_userblock as defined below. - image
Reference LabVirtual Machine Image Reference - An
image_referenceblock as defined below. - sku
Lab
Virtual Machine Sku - A
skublock as defined below. - additional
Capability BooleanGpu Drivers Installed - Is flagged to pre-install dedicated GPU drivers? Defaults to
false. Changing this forces a new resource to be created. - create
Option String - The create option to indicate what Lab Service Lab VMs are created from. Possible values are
ImageandTemplateVM. Defaults toImage. Changing this forces a new resource to be created. - non
Admin LabUser Virtual Machine Non Admin User - A
non_admin_userblock as defined below. - Boolean
- Is the shared password enabled with the same password for all user VMs? Defaults to
false. Changing this forces a new resource to be created. - usage
Quota String - The initial quota allocated to each Lab Service Lab user. Defaults to
PT0S. This value must be formatted as an ISO 8601 string.
- admin
User LabVirtual Machine Admin User - An
admin_userblock as defined below. - image
Reference LabVirtual Machine Image Reference - An
image_referenceblock as defined below. - sku
Lab
Virtual Machine Sku - A
skublock as defined below. - additional
Capability booleanGpu Drivers Installed - Is flagged to pre-install dedicated GPU drivers? Defaults to
false. Changing this forces a new resource to be created. - create
Option string - The create option to indicate what Lab Service Lab VMs are created from. Possible values are
ImageandTemplateVM. Defaults toImage. Changing this forces a new resource to be created. - non
Admin LabUser Virtual Machine Non Admin User - A
non_admin_userblock as defined below. - boolean
- Is the shared password enabled with the same password for all user VMs? Defaults to
false. Changing this forces a new resource to be created. - usage
Quota string - The initial quota allocated to each Lab Service Lab user. Defaults to
PT0S. This value must be formatted as an ISO 8601 string.
- admin_
user LabVirtual Machine Admin User - An
admin_userblock as defined below. - image_
reference LabVirtual Machine Image Reference - An
image_referenceblock as defined below. - sku
Lab
Virtual Machine Sku - A
skublock as defined below. - additional_
capability_ boolgpu_ drivers_ installed - Is flagged to pre-install dedicated GPU drivers? Defaults to
false. Changing this forces a new resource to be created. - create_
option str - The create option to indicate what Lab Service Lab VMs are created from. Possible values are
ImageandTemplateVM. Defaults toImage. Changing this forces a new resource to be created. - non_
admin_ Labuser Virtual Machine Non Admin User - A
non_admin_userblock as defined below. - bool
- Is the shared password enabled with the same password for all user VMs? Defaults to
false. Changing this forces a new resource to be created. - usage_
quota str - The initial quota allocated to each Lab Service Lab user. Defaults to
PT0S. This value must be formatted as an ISO 8601 string.
- admin
User Property Map - An
admin_userblock as defined below. - image
Reference Property Map - An
image_referenceblock as defined below. - sku Property Map
- A
skublock as defined below. - additional
Capability BooleanGpu Drivers Installed - Is flagged to pre-install dedicated GPU drivers? Defaults to
false. Changing this forces a new resource to be created. - create
Option String - The create option to indicate what Lab Service Lab VMs are created from. Possible values are
ImageandTemplateVM. Defaults toImage. Changing this forces a new resource to be created. - non
Admin Property MapUser - A
non_admin_userblock as defined below. - Boolean
- Is the shared password enabled with the same password for all user VMs? Defaults to
false. Changing this forces a new resource to be created. - usage
Quota String - The initial quota allocated to each Lab Service Lab user. Defaults to
PT0S. This value must be formatted as an ISO 8601 string.
LabVirtualMachineAdminUser, LabVirtualMachineAdminUserArgs
LabVirtualMachineImageReference, LabVirtualMachineImageReferenceArgs
- Id string
- The resource ID of the image. Changing this forces a new resource to be created.
- Offer string
- The image offer if applicable. Changing this forces a new resource to be created.
- Publisher string
- The image publisher. Changing this forces a new resource to be created.
- Sku string
- The image SKU. Changing this forces a new resource to be created.
- Version string
- The image version specified on creation. Changing this forces a new resource to be created.
- Id string
- The resource ID of the image. Changing this forces a new resource to be created.
- Offer string
- The image offer if applicable. Changing this forces a new resource to be created.
- Publisher string
- The image publisher. Changing this forces a new resource to be created.
- Sku string
- The image SKU. Changing this forces a new resource to be created.
- Version string
- The image version specified on creation. Changing this forces a new resource to be created.
- id String
- The resource ID of the image. Changing this forces a new resource to be created.
- offer String
- The image offer if applicable. Changing this forces a new resource to be created.
- publisher String
- The image publisher. Changing this forces a new resource to be created.
- sku String
- The image SKU. Changing this forces a new resource to be created.
- version String
- The image version specified on creation. Changing this forces a new resource to be created.
- id string
- The resource ID of the image. Changing this forces a new resource to be created.
- offer string
- The image offer if applicable. Changing this forces a new resource to be created.
- publisher string
- The image publisher. Changing this forces a new resource to be created.
- sku string
- The image SKU. Changing this forces a new resource to be created.
- version string
- The image version specified on creation. Changing this forces a new resource to be created.
- id str
- The resource ID of the image. Changing this forces a new resource to be created.
- offer str
- The image offer if applicable. Changing this forces a new resource to be created.
- publisher str
- The image publisher. Changing this forces a new resource to be created.
- sku str
- The image SKU. Changing this forces a new resource to be created.
- version str
- The image version specified on creation. Changing this forces a new resource to be created.
- id String
- The resource ID of the image. Changing this forces a new resource to be created.
- offer String
- The image offer if applicable. Changing this forces a new resource to be created.
- publisher String
- The image publisher. Changing this forces a new resource to be created.
- sku String
- The image SKU. Changing this forces a new resource to be created.
- version String
- The image version specified on creation. Changing this forces a new resource to be created.
LabVirtualMachineNonAdminUser, LabVirtualMachineNonAdminUserArgs
LabVirtualMachineSku, LabVirtualMachineSkuArgs
- Capacity int
The capacity for the SKU. Possible values are between
0and400.NOTE: Once
active_directory_group_idis enabled,capacitywouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to useignore_changesto avoid the difference of tf plan.- Name string
- The name of the SKU. Changing this forces a new resource to be created.
- Capacity int
The capacity for the SKU. Possible values are between
0and400.NOTE: Once
active_directory_group_idis enabled,capacitywouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to useignore_changesto avoid the difference of tf plan.- Name string
- The name of the SKU. Changing this forces a new resource to be created.
- capacity Integer
The capacity for the SKU. Possible values are between
0and400.NOTE: Once
active_directory_group_idis enabled,capacitywouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to useignore_changesto avoid the difference of tf plan.- name String
- The name of the SKU. Changing this forces a new resource to be created.
- capacity number
The capacity for the SKU. Possible values are between
0and400.NOTE: Once
active_directory_group_idis enabled,capacitywouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to useignore_changesto avoid the difference of tf plan.- name string
- The name of the SKU. Changing this forces a new resource to be created.
- capacity int
The capacity for the SKU. Possible values are between
0and400.NOTE: Once
active_directory_group_idis enabled,capacitywouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to useignore_changesto avoid the difference of tf plan.- name str
- The name of the SKU. Changing this forces a new resource to be created.
- capacity Number
The capacity for the SKU. Possible values are between
0and400.NOTE: Once
active_directory_group_idis enabled,capacitywouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to useignore_changesto avoid the difference of tf plan.- name String
- The name of the SKU. Changing this forces a new resource to be created.
Import
Lab Service Labs can be imported using the resource id, e.g.
$ pulumi import azure:lab/lab:Lab example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labs/lab1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
