1. Packages
  2. Azure Classic
  3. API Docs
  4. lab
  5. Lab

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.lab.Lab

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Lab Service Lab.

    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=azure.lab.LabSecurityArgs(
            open_access_enabled=False,
        ),
        virtual_machine=azure.lab.LabVirtualMachineArgs(
            admin_user=azure.lab.LabVirtualMachineAdminUserArgs(
                username="testadmin",
                password="Password1234!",
            ),
            image_reference=azure.lab.LabVirtualMachineImageReferenceArgs(
                publisher="Canonical",
                offer="0001-com-ubuntu-server-jammy",
                sku="22_04-lts",
                version="latest",
            ),
            sku=azure.lab.LabVirtualMachineSkuArgs(
                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)
    public Lab(String name, LabArgs args)
    public Lab(String name, LabArgs args, CustomResourceOptions options)
    
    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.

    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 Lab("azureLabResource", 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=azure.lab.LabConnectionSettingArgs(
            client_rdp_access="string",
            client_ssh_access="string",
        ),
        virtual_machine=azure.lab.LabVirtualMachineArgs(
            admin_user=azure.lab.LabVirtualMachineAdminUserArgs(
                password="string",
                username="string",
            ),
            image_reference=azure.lab.LabVirtualMachineImageReferenceArgs(
                id="string",
                offer="string",
                publisher="string",
                sku="string",
                version="string",
            ),
            sku=azure.lab.LabVirtualMachineSkuArgs(
                capacity=0,
                name="string",
            ),
            additional_capability_gpu_drivers_installed=False,
            create_option="string",
            non_admin_user=azure.lab.LabVirtualMachineNonAdminUserArgs(
                password="string",
                username="string",
            ),
            shared_password_enabled=False,
            usage_quota="string",
        ),
        title="string",
        security=azure.lab.LabSecurityArgs(
            open_access_enabled=False,
            registration_code="string",
        ),
        lab_plan_id="string",
        network=azure.lab.LabNetworkArgs(
            load_balancer_id="string",
            public_ip_id="string",
            subnet_id="string",
        ),
        name="string",
        roster=azure.lab.LabRosterArgs(
            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=azure.lab.LabAutoShutdownArgs(
            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

    The Lab resource accepts the following input properties:

    ConnectionSetting LabConnectionSetting
    A connection_setting block as defined below.
    ResourceGroupName string
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    Security LabSecurity
    A security block as defined below.
    Title string
    The title of the Lab Service Lab.
    VirtualMachine LabVirtualMachine
    A virtual_machine block as defined below.
    AutoShutdown LabAutoShutdown
    An auto_shutdown block as defined below.
    Description string
    The description of the Lab Service Lab.
    LabPlanId string
    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 LabNetwork
    A network block as defined below.
    Roster LabRoster
    A roster block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Lab Service Lab.
    ConnectionSetting LabConnectionSettingArgs
    A connection_setting block as defined below.
    ResourceGroupName string
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    Security LabSecurityArgs
    A security block as defined below.
    Title string
    The title of the Lab Service Lab.
    VirtualMachine LabVirtualMachineArgs
    A virtual_machine block as defined below.
    AutoShutdown LabAutoShutdownArgs
    An auto_shutdown block as defined below.
    Description string
    The description of the Lab Service Lab.
    LabPlanId string
    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 LabNetworkArgs
    A network block as defined below.
    Roster LabRosterArgs
    A roster block as defined below.
    Tags map[string]string
    A mapping of tags which should be assigned to the Lab Service Lab.
    connectionSetting LabConnectionSetting
    A connection_setting block as defined below.
    resourceGroupName String
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    security LabSecurity
    A security block as defined below.
    title String
    The title of the Lab Service Lab.
    virtualMachine LabVirtualMachine
    A virtual_machine block as defined below.
    autoShutdown LabAutoShutdown
    An auto_shutdown block as defined below.
    description String
    The description of the Lab Service Lab.
    labPlanId String
    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 LabNetwork
    A network block as defined below.
    roster LabRoster
    A roster block as defined below.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Lab Service Lab.
    connectionSetting LabConnectionSetting
    A connection_setting block as defined below.
    resourceGroupName string
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    security LabSecurity
    A security block as defined below.
    title string
    The title of the Lab Service Lab.
    virtualMachine LabVirtualMachine
    A virtual_machine block as defined below.
    autoShutdown LabAutoShutdown
    An auto_shutdown block as defined below.
    description string
    The description of the Lab Service Lab.
    labPlanId string
    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 LabNetwork
    A network block as defined below.
    roster LabRoster
    A roster block as defined below.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Lab Service Lab.
    connection_setting LabConnectionSettingArgs
    A connection_setting block as defined below.
    resource_group_name str
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    security LabSecurityArgs
    A security block as defined below.
    title str
    The title of the Lab Service Lab.
    virtual_machine LabVirtualMachineArgs
    A virtual_machine block as defined below.
    auto_shutdown LabAutoShutdownArgs
    An auto_shutdown block as defined below.
    description str
    The description of the Lab Service Lab.
    lab_plan_id str
    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 LabNetworkArgs
    A network block as defined below.
    roster LabRosterArgs
    A roster block as defined below.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Lab Service Lab.
    connectionSetting Property Map
    A connection_setting block as defined below.
    resourceGroupName String
    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 security block as defined below.
    title String
    The title of the Lab Service Lab.
    virtualMachine Property Map
    A virtual_machine block as defined below.
    autoShutdown Property Map
    An auto_shutdown block as defined below.
    description String
    The description of the Lab Service Lab.
    labPlanId String
    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 network block as defined below.
    roster Property Map
    A roster block as defined below.
    tags 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) -> Lab
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AutoShutdown LabAutoShutdown
    An auto_shutdown block as defined below.
    ConnectionSetting LabConnectionSetting
    A connection_setting block as defined below.
    Description string
    The description of the Lab Service Lab.
    LabPlanId string
    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 LabNetwork
    A network block as defined below.
    ResourceGroupName string
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    Roster LabRoster
    A roster block as defined below.
    Security LabSecurity
    A security block as defined below.
    Tags 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.
    VirtualMachine LabVirtualMachine
    A virtual_machine block as defined below.
    AutoShutdown LabAutoShutdownArgs
    An auto_shutdown block as defined below.
    ConnectionSetting LabConnectionSettingArgs
    A connection_setting block as defined below.
    Description string
    The description of the Lab Service Lab.
    LabPlanId string
    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 LabNetworkArgs
    A network block as defined below.
    ResourceGroupName string
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    Roster LabRosterArgs
    A roster block as defined below.
    Security LabSecurityArgs
    A security block as defined below.
    Tags 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.
    VirtualMachine LabVirtualMachineArgs
    A virtual_machine block as defined below.
    autoShutdown LabAutoShutdown
    An auto_shutdown block as defined below.
    connectionSetting LabConnectionSetting
    A connection_setting block as defined below.
    description String
    The description of the Lab Service Lab.
    labPlanId String
    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 LabNetwork
    A network block as defined below.
    resourceGroupName String
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    roster LabRoster
    A roster block as defined below.
    security LabSecurity
    A security block as defined below.
    tags 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.
    virtualMachine LabVirtualMachine
    A virtual_machine block as defined below.
    autoShutdown LabAutoShutdown
    An auto_shutdown block as defined below.
    connectionSetting LabConnectionSetting
    A connection_setting block as defined below.
    description string
    The description of the Lab Service Lab.
    labPlanId string
    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 LabNetwork
    A network block as defined below.
    resourceGroupName string
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    roster LabRoster
    A roster block as defined below.
    security LabSecurity
    A security block as defined below.
    tags {[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.
    virtualMachine LabVirtualMachine
    A virtual_machine block as defined below.
    auto_shutdown LabAutoShutdownArgs
    An auto_shutdown block as defined below.
    connection_setting LabConnectionSettingArgs
    A connection_setting block as defined below.
    description str
    The description of the Lab Service Lab.
    lab_plan_id str
    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 LabNetworkArgs
    A network block as defined below.
    resource_group_name str
    The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
    roster LabRosterArgs
    A roster block as defined below.
    security LabSecurityArgs
    A security block as defined below.
    tags 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 LabVirtualMachineArgs
    A virtual_machine block as defined below.
    autoShutdown Property Map
    An auto_shutdown block as defined below.
    connectionSetting Property Map
    A connection_setting block as defined below.
    description String
    The description of the Lab Service Lab.
    labPlanId String
    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 network block as defined below.
    resourceGroupName String
    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 roster block as defined below.
    security Property Map
    A security block as defined below.
    tags Map<String>
    A mapping of tags which should be assigned to the Lab Service Lab.
    title String
    The title of the Lab Service Lab.
    virtualMachine Property Map
    A virtual_machine block as defined below.

    Supporting Types

    LabAutoShutdown, LabAutoShutdownArgs

    DisconnectDelay 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 shutdownOnDisconnect is Disabled when disconnect_delay isn't specified.

    IdleDelay 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.
    NoConnectDelay string

    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 shutdownWhenNotConnected is Disabled when no_connect_delay isn't specified.

    ShutdownOnIdle string

    A VM will get shutdown when it has idled for a period of time. Possible values are LowUsage and UserAbsence.

    NOTE: This property is None when it isn't specified. No need to set idle_delay when shutdown_on_idle isn't specified.

    DisconnectDelay 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 shutdownOnDisconnect is Disabled when disconnect_delay isn't specified.

    IdleDelay 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.
    NoConnectDelay string

    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 shutdownWhenNotConnected is Disabled when no_connect_delay isn't specified.

    ShutdownOnIdle string

    A VM will get shutdown when it has idled for a period of time. Possible values are LowUsage and UserAbsence.

    NOTE: This property is None when it isn't specified. No need to set idle_delay when shutdown_on_idle isn't specified.

    disconnectDelay 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 shutdownOnDisconnect is Disabled when disconnect_delay isn't specified.

    idleDelay 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.
    noConnectDelay String

    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 shutdownWhenNotConnected is Disabled when no_connect_delay isn't specified.

    shutdownOnIdle String

    A VM will get shutdown when it has idled for a period of time. Possible values are LowUsage and UserAbsence.

    NOTE: This property is None when it isn't specified. No need to set idle_delay when shutdown_on_idle isn't specified.

    disconnectDelay 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 shutdownOnDisconnect is Disabled when disconnect_delay isn't specified.

    idleDelay 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.
    noConnectDelay string

    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 shutdownWhenNotConnected is Disabled when no_connect_delay isn't specified.

    shutdownOnIdle string

    A VM will get shutdown when it has idled for a period of time. Possible values are LowUsage and UserAbsence.

    NOTE: This property is None when it isn't specified. No need to set idle_delay when shutdown_on_idle isn'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 shutdownOnDisconnect is Disabled when disconnect_delay isn'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_delay str

    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 shutdownWhenNotConnected is Disabled when no_connect_delay isn't specified.

    shutdown_on_idle str

    A VM will get shutdown when it has idled for a period of time. Possible values are LowUsage and UserAbsence.

    NOTE: This property is None when it isn't specified. No need to set idle_delay when shutdown_on_idle isn't specified.

    disconnectDelay 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 shutdownOnDisconnect is Disabled when disconnect_delay isn't specified.

    idleDelay 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.
    noConnectDelay String

    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 shutdownWhenNotConnected is Disabled when no_connect_delay isn't specified.

    shutdownOnIdle String

    A VM will get shutdown when it has idled for a period of time. Possible values are LowUsage and UserAbsence.

    NOTE: This property is None when it isn't specified. No need to set idle_delay when shutdown_on_idle isn't specified.

    LabConnectionSetting, LabConnectionSettingArgs

    ClientRdpAccess string

    The enabled access level for Client Access over RDP. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    ClientSshAccess string

    The enabled access level for Client Access over SSH. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    ClientRdpAccess string

    The enabled access level for Client Access over RDP. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    ClientSshAccess string

    The enabled access level for Client Access over SSH. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    clientRdpAccess String

    The enabled access level for Client Access over RDP. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    clientSshAccess String

    The enabled access level for Client Access over SSH. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    clientRdpAccess string

    The enabled access level for Client Access over RDP. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    clientSshAccess string

    The enabled access level for Client Access over SSH. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    client_rdp_access str

    The enabled access level for Client Access over RDP. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    client_ssh_access str

    The enabled access level for Client Access over SSH. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    clientRdpAccess String

    The enabled access level for Client Access over RDP. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    clientSshAccess String

    The enabled access level for Client Access over SSH. Possible value is Public.

    NOTE: This property is None when it isn't specified.

    LabNetwork, LabNetworkArgs

    LoadBalancerId string
    The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
    PublicIpId string
    The resource ID of the Public IP for the network profile of the Lab Service Lab.
    SubnetId string
    The resource ID of the Subnet for the network profile of the Lab Service Lab.
    LoadBalancerId string
    The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
    PublicIpId string
    The resource ID of the Public IP for the network profile of the Lab Service Lab.
    SubnetId string
    The resource ID of the Subnet for the network profile of the Lab Service Lab.
    loadBalancerId String
    The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
    publicIpId String
    The resource ID of the Public IP for the network profile of the Lab Service Lab.
    subnetId String
    The resource ID of the Subnet for the network profile of the Lab Service Lab.
    loadBalancerId string
    The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
    publicIpId string
    The resource ID of the Public IP for the network profile of the Lab Service Lab.
    subnetId string
    The resource ID of the Subnet for the network profile of the Lab Service Lab.
    load_balancer_id str
    The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
    public_ip_id str
    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.
    loadBalancerId String
    The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
    publicIpId String
    The resource ID of the Public IP for the network profile of the Lab Service Lab.
    subnetId String
    The resource ID of the Subnet for the network profile of the Lab Service Lab.

    LabRoster, LabRosterArgs

    ActiveDirectoryGroupId string
    The AAD group ID which this Lab Service Lab roster is populated from.
    LmsInstance string
    The base URI identifying the lms instance.
    LtiClientId string
    The unique id of the Azure Lab Service tool in the lms.
    LtiContextId string
    The unique context identifier for the Lab Service Lab in the lms.
    LtiRosterEndpoint string
    The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
    ActiveDirectoryGroupId string
    The AAD group ID which this Lab Service Lab roster is populated from.
    LmsInstance string
    The base URI identifying the lms instance.
    LtiClientId string
    The unique id of the Azure Lab Service tool in the lms.
    LtiContextId string
    The unique context identifier for the Lab Service Lab in the lms.
    LtiRosterEndpoint string
    The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
    activeDirectoryGroupId String
    The AAD group ID which this Lab Service Lab roster is populated from.
    lmsInstance String
    The base URI identifying the lms instance.
    ltiClientId String
    The unique id of the Azure Lab Service tool in the lms.
    ltiContextId String
    The unique context identifier for the Lab Service Lab in the lms.
    ltiRosterEndpoint String
    The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
    activeDirectoryGroupId string
    The AAD group ID which this Lab Service Lab roster is populated from.
    lmsInstance string
    The base URI identifying the lms instance.
    ltiClientId string
    The unique id of the Azure Lab Service tool in the lms.
    ltiContextId string
    The unique context identifier for the Lab Service Lab in the lms.
    ltiRosterEndpoint string
    The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
    active_directory_group_id str
    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_id str
    The unique id of the Azure Lab Service tool in the lms.
    lti_context_id str
    The unique context identifier for the Lab Service Lab in the lms.
    lti_roster_endpoint str
    The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
    activeDirectoryGroupId String
    The AAD group ID which this Lab Service Lab roster is populated from.
    lmsInstance String
    The base URI identifying the lms instance.
    ltiClientId String
    The unique id of the Azure Lab Service tool in the lms.
    ltiContextId String
    The unique context identifier for the Lab Service Lab in the lms.
    ltiRosterEndpoint String
    The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.

    LabSecurity, LabSecurityArgs

    OpenAccessEnabled bool
    Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
    RegistrationCode string
    The registration code for the Lab Service Lab.
    OpenAccessEnabled bool
    Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
    RegistrationCode string
    The registration code for the Lab Service Lab.
    openAccessEnabled Boolean
    Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
    registrationCode String
    The registration code for the Lab Service Lab.
    openAccessEnabled boolean
    Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
    registrationCode string
    The registration code for the Lab Service Lab.
    open_access_enabled bool
    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.
    openAccessEnabled Boolean
    Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
    registrationCode String
    The registration code for the Lab Service Lab.

    LabVirtualMachine, LabVirtualMachineArgs

    AdminUser LabVirtualMachineAdminUser
    An admin_user block as defined below.
    ImageReference LabVirtualMachineImageReference
    An image_reference block as defined below.
    Sku LabVirtualMachineSku
    A sku block as defined below.
    AdditionalCapabilityGpuDriversInstalled bool
    Is flagged to pre-install dedicated GPU drivers? Defaults to false. Changing this forces a new resource to be created.
    CreateOption string
    The create option to indicate what Lab Service Lab VMs are created from. Possible values are Image and TemplateVM. Defaults to Image. Changing this forces a new resource to be created.
    NonAdminUser LabVirtualMachineNonAdminUser
    A non_admin_user block as defined below.
    SharedPasswordEnabled 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.
    UsageQuota string
    The initial quota allocated to each Lab Service Lab user. Defaults to PT0S. This value must be formatted as an ISO 8601 string.
    AdminUser LabVirtualMachineAdminUser
    An admin_user block as defined below.
    ImageReference LabVirtualMachineImageReference
    An image_reference block as defined below.
    Sku LabVirtualMachineSku
    A sku block as defined below.
    AdditionalCapabilityGpuDriversInstalled bool
    Is flagged to pre-install dedicated GPU drivers? Defaults to false. Changing this forces a new resource to be created.
    CreateOption string
    The create option to indicate what Lab Service Lab VMs are created from. Possible values are Image and TemplateVM. Defaults to Image. Changing this forces a new resource to be created.
    NonAdminUser LabVirtualMachineNonAdminUser
    A non_admin_user block as defined below.
    SharedPasswordEnabled 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.
    UsageQuota string
    The initial quota allocated to each Lab Service Lab user. Defaults to PT0S. This value must be formatted as an ISO 8601 string.
    adminUser LabVirtualMachineAdminUser
    An admin_user block as defined below.
    imageReference LabVirtualMachineImageReference
    An image_reference block as defined below.
    sku LabVirtualMachineSku
    A sku block as defined below.
    additionalCapabilityGpuDriversInstalled Boolean
    Is flagged to pre-install dedicated GPU drivers? Defaults to false. Changing this forces a new resource to be created.
    createOption String
    The create option to indicate what Lab Service Lab VMs are created from. Possible values are Image and TemplateVM. Defaults to Image. Changing this forces a new resource to be created.
    nonAdminUser LabVirtualMachineNonAdminUser
    A non_admin_user block as defined below.
    sharedPasswordEnabled 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.
    usageQuota String
    The initial quota allocated to each Lab Service Lab user. Defaults to PT0S. This value must be formatted as an ISO 8601 string.
    adminUser LabVirtualMachineAdminUser
    An admin_user block as defined below.
    imageReference LabVirtualMachineImageReference
    An image_reference block as defined below.
    sku LabVirtualMachineSku
    A sku block as defined below.
    additionalCapabilityGpuDriversInstalled boolean
    Is flagged to pre-install dedicated GPU drivers? Defaults to false. Changing this forces a new resource to be created.
    createOption string
    The create option to indicate what Lab Service Lab VMs are created from. Possible values are Image and TemplateVM. Defaults to Image. Changing this forces a new resource to be created.
    nonAdminUser LabVirtualMachineNonAdminUser
    A non_admin_user block as defined below.
    sharedPasswordEnabled 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.
    usageQuota 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 LabVirtualMachineAdminUser
    An admin_user block as defined below.
    image_reference LabVirtualMachineImageReference
    An image_reference block as defined below.
    sku LabVirtualMachineSku
    A sku block as defined below.
    additional_capability_gpu_drivers_installed bool
    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 Image and TemplateVM. Defaults to Image. Changing this forces a new resource to be created.
    non_admin_user LabVirtualMachineNonAdminUser
    A non_admin_user block as defined below.
    shared_password_enabled 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.
    adminUser Property Map
    An admin_user block as defined below.
    imageReference Property Map
    An image_reference block as defined below.
    sku Property Map
    A sku block as defined below.
    additionalCapabilityGpuDriversInstalled Boolean
    Is flagged to pre-install dedicated GPU drivers? Defaults to false. Changing this forces a new resource to be created.
    createOption String
    The create option to indicate what Lab Service Lab VMs are created from. Possible values are Image and TemplateVM. Defaults to Image. Changing this forces a new resource to be created.
    nonAdminUser Property Map
    A non_admin_user block as defined below.
    sharedPasswordEnabled 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.
    usageQuota 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

    Password string
    The password for the Lab user. Changing this forces a new resource to be created.
    Username string
    The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
    Password string
    The password for the Lab user. Changing this forces a new resource to be created.
    Username string
    The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
    password String
    The password for the Lab user. Changing this forces a new resource to be created.
    username String
    The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
    password string
    The password for the Lab user. Changing this forces a new resource to be created.
    username string
    The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
    password str
    The password for the Lab user. Changing this forces a new resource to be created.
    username str
    The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
    password String
    The password for the Lab user. Changing this forces a new resource to be created.
    username String
    The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.

    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

    Password string
    The password for the user.
    Username string
    The username to use when signing in to Lab Service Lab VMs.
    Password string
    The password for the user.
    Username string
    The username to use when signing in to Lab Service Lab VMs.
    password String
    The password for the user.
    username String
    The username to use when signing in to Lab Service Lab VMs.
    password string
    The password for the user.
    username string
    The username to use when signing in to Lab Service Lab VMs.
    password str
    The password for the user.
    username str
    The username to use when signing in to Lab Service Lab VMs.
    password String
    The password for the user.
    username String
    The username to use when signing in to Lab Service Lab VMs.

    LabVirtualMachineSku, LabVirtualMachineSkuArgs

    Capacity int

    The capacity for the SKU. Possible values are between 0 and 400.

    NOTE: Once active_directory_group_id is enabled, capacity wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use ignore_changes to 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 0 and 400.

    NOTE: Once active_directory_group_id is enabled, capacity wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use ignore_changes to 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 0 and 400.

    NOTE: Once active_directory_group_id is enabled, capacity wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use ignore_changes to 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 0 and 400.

    NOTE: Once active_directory_group_id is enabled, capacity wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use ignore_changes to 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 0 and 400.

    NOTE: Once active_directory_group_id is enabled, capacity wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use ignore_changes to 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 0 and 400.

    NOTE: Once active_directory_group_id is enabled, capacity wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use ignore_changes to 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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi