1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. LabPlan
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.labservices.LabPlan

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten. Azure REST API version: 2022-08-01. Prior API version in Azure Native 1.x: 2021-10-01-preview.

    Other available API versions: 2023-06-07.

    Example Usage

    putLabPlan

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var labPlan = new AzureNative.LabServices.LabPlan("labPlan", new()
        {
            DefaultAutoShutdownProfile = new AzureNative.LabServices.Inputs.AutoShutdownProfileArgs
            {
                DisconnectDelay = "PT5M",
                IdleDelay = "PT5M",
                NoConnectDelay = "PT5M",
                ShutdownOnDisconnect = AzureNative.LabServices.EnableState.Enabled,
                ShutdownOnIdle = AzureNative.LabServices.ShutdownOnIdleMode.UserAbsence,
                ShutdownWhenNotConnected = AzureNative.LabServices.EnableState.Enabled,
            },
            DefaultConnectionProfile = new AzureNative.LabServices.Inputs.ConnectionProfileArgs
            {
                ClientRdpAccess = AzureNative.LabServices.ConnectionType.Public,
                ClientSshAccess = AzureNative.LabServices.ConnectionType.Public,
                WebRdpAccess = AzureNative.LabServices.ConnectionType.None,
                WebSshAccess = AzureNative.LabServices.ConnectionType.None,
            },
            DefaultNetworkProfile = new AzureNative.LabServices.Inputs.LabPlanNetworkProfileArgs
            {
                SubnetId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
            },
            LabPlanName = "testlabplan",
            Location = "westus",
            ResourceGroupName = "testrg123",
            SharedGalleryId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Compute/galleries/testsig",
            SupportInfo = new AzureNative.LabServices.Inputs.SupportInfoArgs
            {
                Email = "help@contoso.com",
                Instructions = "Contact support for help.",
                Phone = "+1-202-555-0123",
                Url = "help.contoso.com",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/labservices/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := labservices.NewLabPlan(ctx, "labPlan", &labservices.LabPlanArgs{
    			DefaultAutoShutdownProfile: &labservices.AutoShutdownProfileArgs{
    				DisconnectDelay:          pulumi.String("PT5M"),
    				IdleDelay:                pulumi.String("PT5M"),
    				NoConnectDelay:           pulumi.String("PT5M"),
    				ShutdownOnDisconnect:     labservices.EnableStateEnabled,
    				ShutdownOnIdle:           labservices.ShutdownOnIdleModeUserAbsence,
    				ShutdownWhenNotConnected: labservices.EnableStateEnabled,
    			},
    			DefaultConnectionProfile: &labservices.ConnectionProfileArgs{
    				ClientRdpAccess: labservices.ConnectionTypePublic,
    				ClientSshAccess: labservices.ConnectionTypePublic,
    				WebRdpAccess:    labservices.ConnectionTypeNone,
    				WebSshAccess:    labservices.ConnectionTypeNone,
    			},
    			DefaultNetworkProfile: &labservices.LabPlanNetworkProfileArgs{
    				SubnetId: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"),
    			},
    			LabPlanName:       pulumi.String("testlabplan"),
    			Location:          pulumi.String("westus"),
    			ResourceGroupName: pulumi.String("testrg123"),
    			SharedGalleryId:   pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Compute/galleries/testsig"),
    			SupportInfo: &labservices.SupportInfoArgs{
    				Email:        pulumi.String("help@contoso.com"),
    				Instructions: pulumi.String("Contact support for help."),
    				Phone:        pulumi.String("+1-202-555-0123"),
    				Url:          pulumi.String("help.contoso.com"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.labservices.LabPlan;
    import com.pulumi.azurenative.labservices.LabPlanArgs;
    import com.pulumi.azurenative.labservices.inputs.AutoShutdownProfileArgs;
    import com.pulumi.azurenative.labservices.inputs.ConnectionProfileArgs;
    import com.pulumi.azurenative.labservices.inputs.LabPlanNetworkProfileArgs;
    import com.pulumi.azurenative.labservices.inputs.SupportInfoArgs;
    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 labPlan = new LabPlan("labPlan", LabPlanArgs.builder()        
                .defaultAutoShutdownProfile(AutoShutdownProfileArgs.builder()
                    .disconnectDelay("PT5M")
                    .idleDelay("PT5M")
                    .noConnectDelay("PT5M")
                    .shutdownOnDisconnect("Enabled")
                    .shutdownOnIdle("UserAbsence")
                    .shutdownWhenNotConnected("Enabled")
                    .build())
                .defaultConnectionProfile(ConnectionProfileArgs.builder()
                    .clientRdpAccess("Public")
                    .clientSshAccess("Public")
                    .webRdpAccess("None")
                    .webSshAccess("None")
                    .build())
                .defaultNetworkProfile(LabPlanNetworkProfileArgs.builder()
                    .subnetId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default")
                    .build())
                .labPlanName("testlabplan")
                .location("westus")
                .resourceGroupName("testrg123")
                .sharedGalleryId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Compute/galleries/testsig")
                .supportInfo(SupportInfoArgs.builder()
                    .email("help@contoso.com")
                    .instructions("Contact support for help.")
                    .phone("+1-202-555-0123")
                    .url("help.contoso.com")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    lab_plan = azure_native.labservices.LabPlan("labPlan",
        default_auto_shutdown_profile=azure_native.labservices.AutoShutdownProfileArgs(
            disconnect_delay="PT5M",
            idle_delay="PT5M",
            no_connect_delay="PT5M",
            shutdown_on_disconnect=azure_native.labservices.EnableState.ENABLED,
            shutdown_on_idle=azure_native.labservices.ShutdownOnIdleMode.USER_ABSENCE,
            shutdown_when_not_connected=azure_native.labservices.EnableState.ENABLED,
        ),
        default_connection_profile=azure_native.labservices.ConnectionProfileArgs(
            client_rdp_access=azure_native.labservices.ConnectionType.PUBLIC,
            client_ssh_access=azure_native.labservices.ConnectionType.PUBLIC,
            web_rdp_access=azure_native.labservices.ConnectionType.NONE,
            web_ssh_access=azure_native.labservices.ConnectionType.NONE,
        ),
        default_network_profile=azure_native.labservices.LabPlanNetworkProfileArgs(
            subnet_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
        ),
        lab_plan_name="testlabplan",
        location="westus",
        resource_group_name="testrg123",
        shared_gallery_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Compute/galleries/testsig",
        support_info=azure_native.labservices.SupportInfoArgs(
            email="help@contoso.com",
            instructions="Contact support for help.",
            phone="+1-202-555-0123",
            url="help.contoso.com",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const labPlan = new azure_native.labservices.LabPlan("labPlan", {
        defaultAutoShutdownProfile: {
            disconnectDelay: "PT5M",
            idleDelay: "PT5M",
            noConnectDelay: "PT5M",
            shutdownOnDisconnect: azure_native.labservices.EnableState.Enabled,
            shutdownOnIdle: azure_native.labservices.ShutdownOnIdleMode.UserAbsence,
            shutdownWhenNotConnected: azure_native.labservices.EnableState.Enabled,
        },
        defaultConnectionProfile: {
            clientRdpAccess: azure_native.labservices.ConnectionType.Public,
            clientSshAccess: azure_native.labservices.ConnectionType.Public,
            webRdpAccess: azure_native.labservices.ConnectionType.None,
            webSshAccess: azure_native.labservices.ConnectionType.None,
        },
        defaultNetworkProfile: {
            subnetId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default",
        },
        labPlanName: "testlabplan",
        location: "westus",
        resourceGroupName: "testrg123",
        sharedGalleryId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Compute/galleries/testsig",
        supportInfo: {
            email: "help@contoso.com",
            instructions: "Contact support for help.",
            phone: "+1-202-555-0123",
            url: "help.contoso.com",
        },
    });
    
    resources:
      labPlan:
        type: azure-native:labservices:LabPlan
        properties:
          defaultAutoShutdownProfile:
            disconnectDelay: PT5M
            idleDelay: PT5M
            noConnectDelay: PT5M
            shutdownOnDisconnect: Enabled
            shutdownOnIdle: UserAbsence
            shutdownWhenNotConnected: Enabled
          defaultConnectionProfile:
            clientRdpAccess: Public
            clientSshAccess: Public
            webRdpAccess: None
            webSshAccess: None
          defaultNetworkProfile:
            subnetId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default
          labPlanName: testlabplan
          location: westus
          resourceGroupName: testrg123
          sharedGalleryId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Compute/galleries/testsig
          supportInfo:
            email: help@contoso.com
            instructions: Contact support for help.
            phone: +1-202-555-0123
            url: help.contoso.com
    

    Create LabPlan Resource

    new LabPlan(name: string, args: LabPlanArgs, opts?: CustomResourceOptions);
    @overload
    def LabPlan(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                allowed_regions: Optional[Sequence[str]] = None,
                default_auto_shutdown_profile: Optional[AutoShutdownProfileArgs] = None,
                default_connection_profile: Optional[ConnectionProfileArgs] = None,
                default_network_profile: Optional[LabPlanNetworkProfileArgs] = None,
                identity: Optional[IdentityArgs] = None,
                lab_plan_name: Optional[str] = None,
                linked_lms_instance: Optional[str] = None,
                location: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                shared_gallery_id: Optional[str] = None,
                support_info: Optional[SupportInfoArgs] = None,
                tags: Optional[Mapping[str, str]] = None)
    @overload
    def LabPlan(resource_name: str,
                args: LabPlanArgs,
                opts: Optional[ResourceOptions] = None)
    func NewLabPlan(ctx *Context, name string, args LabPlanArgs, opts ...ResourceOption) (*LabPlan, error)
    public LabPlan(string name, LabPlanArgs args, CustomResourceOptions? opts = null)
    public LabPlan(String name, LabPlanArgs args)
    public LabPlan(String name, LabPlanArgs args, CustomResourceOptions options)
    
    type: azure-native:labservices:LabPlan
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args LabPlanArgs
    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 LabPlanArgs
    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 LabPlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LabPlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LabPlanArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    LabPlan 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 LabPlan resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AllowedRegions List<string>
    The allowed regions for the lab creator to use when creating labs using this lab plan.
    DefaultAutoShutdownProfile Pulumi.AzureNative.LabServices.Inputs.AutoShutdownProfile
    The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
    DefaultConnectionProfile Pulumi.AzureNative.LabServices.Inputs.ConnectionProfile
    The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
    DefaultNetworkProfile Pulumi.AzureNative.LabServices.Inputs.LabPlanNetworkProfile
    The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
    Identity Pulumi.AzureNative.LabServices.Inputs.Identity
    Managed Identity Information
    LabPlanName string
    The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
    LinkedLmsInstance string
    Base Url of the lms instance this lab plan can link lab rosters against.
    Location string
    The geo-location where the resource lives
    SharedGalleryId string
    Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
    SupportInfo Pulumi.AzureNative.LabServices.Inputs.SupportInfo
    Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AllowedRegions []string
    The allowed regions for the lab creator to use when creating labs using this lab plan.
    DefaultAutoShutdownProfile AutoShutdownProfileArgs
    The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
    DefaultConnectionProfile ConnectionProfileArgs
    The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
    DefaultNetworkProfile LabPlanNetworkProfileArgs
    The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
    Identity IdentityArgs
    Managed Identity Information
    LabPlanName string
    The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
    LinkedLmsInstance string
    Base Url of the lms instance this lab plan can link lab rosters against.
    Location string
    The geo-location where the resource lives
    SharedGalleryId string
    Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
    SupportInfo SupportInfoArgs
    Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    allowedRegions List<String>
    The allowed regions for the lab creator to use when creating labs using this lab plan.
    defaultAutoShutdownProfile AutoShutdownProfile
    The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
    defaultConnectionProfile ConnectionProfile
    The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
    defaultNetworkProfile LabPlanNetworkProfile
    The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
    identity Identity
    Managed Identity Information
    labPlanName String
    The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
    linkedLmsInstance String
    Base Url of the lms instance this lab plan can link lab rosters against.
    location String
    The geo-location where the resource lives
    sharedGalleryId String
    Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
    supportInfo SupportInfo
    Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    allowedRegions string[]
    The allowed regions for the lab creator to use when creating labs using this lab plan.
    defaultAutoShutdownProfile AutoShutdownProfile
    The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
    defaultConnectionProfile ConnectionProfile
    The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
    defaultNetworkProfile LabPlanNetworkProfile
    The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
    identity Identity
    Managed Identity Information
    labPlanName string
    The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
    linkedLmsInstance string
    Base Url of the lms instance this lab plan can link lab rosters against.
    location string
    The geo-location where the resource lives
    sharedGalleryId string
    Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
    supportInfo SupportInfo
    Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    allowed_regions Sequence[str]
    The allowed regions for the lab creator to use when creating labs using this lab plan.
    default_auto_shutdown_profile AutoShutdownProfileArgs
    The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
    default_connection_profile ConnectionProfileArgs
    The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
    default_network_profile LabPlanNetworkProfileArgs
    The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
    identity IdentityArgs
    Managed Identity Information
    lab_plan_name str
    The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
    linked_lms_instance str
    Base Url of the lms instance this lab plan can link lab rosters against.
    location str
    The geo-location where the resource lives
    shared_gallery_id str
    Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
    support_info SupportInfoArgs
    Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    allowedRegions List<String>
    The allowed regions for the lab creator to use when creating labs using this lab plan.
    defaultAutoShutdownProfile Property Map
    The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
    defaultConnectionProfile Property Map
    The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
    defaultNetworkProfile Property Map
    The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.
    identity Property Map
    Managed Identity Information
    labPlanName String
    The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
    linkedLmsInstance String
    Base Url of the lms instance this lab plan can link lab rosters against.
    location String
    The geo-location where the resource lives
    sharedGalleryId String
    Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.
    supportInfo Property Map
    Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.
    tags Map<String>
    Resource tags.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Current provisioning state of the lab plan.
    SystemData Pulumi.AzureNative.LabServices.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the lab plan.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Current provisioning state of the lab plan.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the lab plan.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Current provisioning state of the lab plan.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the lab plan.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Current provisioning state of the lab plan.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the lab plan.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Current provisioning state of the lab plan.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the lab plan.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Current provisioning state of the lab plan.
    systemData Property Map
    Metadata pertaining to creation and last modification of the lab plan.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    AutoShutdownProfile, AutoShutdownProfileArgs

    DisconnectDelay string
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    IdleDelay string
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    ShutdownOnDisconnect Pulumi.AzureNative.LabServices.EnableState
    Whether shutdown on disconnect is enabled
    ShutdownOnIdle Pulumi.AzureNative.LabServices.ShutdownOnIdleMode
    Whether a VM will get shutdown when it has idled for a period of time.
    ShutdownWhenNotConnected Pulumi.AzureNative.LabServices.EnableState
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    DisconnectDelay string
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    IdleDelay string
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    ShutdownOnDisconnect EnableState
    Whether shutdown on disconnect is enabled
    ShutdownOnIdle ShutdownOnIdleMode
    Whether a VM will get shutdown when it has idled for a period of time.
    ShutdownWhenNotConnected EnableState
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnectDelay String
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idleDelay String
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdownOnDisconnect EnableState
    Whether shutdown on disconnect is enabled
    shutdownOnIdle ShutdownOnIdleMode
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdownWhenNotConnected EnableState
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnectDelay string
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idleDelay string
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdownOnDisconnect EnableState
    Whether shutdown on disconnect is enabled
    shutdownOnIdle ShutdownOnIdleMode
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdownWhenNotConnected EnableState
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnect_delay str
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idle_delay str
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdown_on_disconnect EnableState
    Whether shutdown on disconnect is enabled
    shutdown_on_idle ShutdownOnIdleMode
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdown_when_not_connected EnableState
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnectDelay String
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idleDelay String
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdownOnDisconnect "Enabled" | "Disabled"
    Whether shutdown on disconnect is enabled
    shutdownOnIdle "None" | "UserAbsence" | "LowUsage"
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdownWhenNotConnected "Enabled" | "Disabled"
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.

    AutoShutdownProfileResponse, AutoShutdownProfileResponseArgs

    DisconnectDelay string
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    IdleDelay string
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    ShutdownOnDisconnect string
    Whether shutdown on disconnect is enabled
    ShutdownOnIdle string
    Whether a VM will get shutdown when it has idled for a period of time.
    ShutdownWhenNotConnected string
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    DisconnectDelay string
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    IdleDelay string
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    ShutdownOnDisconnect string
    Whether shutdown on disconnect is enabled
    ShutdownOnIdle string
    Whether a VM will get shutdown when it has idled for a period of time.
    ShutdownWhenNotConnected string
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnectDelay String
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idleDelay String
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdownOnDisconnect String
    Whether shutdown on disconnect is enabled
    shutdownOnIdle String
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdownWhenNotConnected String
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnectDelay string
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idleDelay string
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdownOnDisconnect string
    Whether shutdown on disconnect is enabled
    shutdownOnIdle string
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdownWhenNotConnected string
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnect_delay str
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idle_delay str
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdown_on_disconnect str
    Whether shutdown on disconnect is enabled
    shutdown_on_idle str
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdown_when_not_connected str
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.
    disconnectDelay String
    The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
    idleDelay String
    The amount of time a VM will idle before it is shutdown if this behavior is enabled.
    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.
    shutdownOnDisconnect String
    Whether shutdown on disconnect is enabled
    shutdownOnIdle String
    Whether a VM will get shutdown when it has idled for a period of time.
    shutdownWhenNotConnected String
    Whether a VM will get shutdown when it hasn't been connected to after a period of time.

    ConnectionProfile, ConnectionProfileArgs

    ClientRdpAccess Pulumi.AzureNative.LabServices.ConnectionType
    The enabled access level for Client Access over RDP.
    ClientSshAccess Pulumi.AzureNative.LabServices.ConnectionType
    The enabled access level for Client Access over SSH.
    WebRdpAccess Pulumi.AzureNative.LabServices.ConnectionType
    The enabled access level for Web Access over RDP.
    WebSshAccess Pulumi.AzureNative.LabServices.ConnectionType
    The enabled access level for Web Access over SSH.
    ClientRdpAccess ConnectionType
    The enabled access level for Client Access over RDP.
    ClientSshAccess ConnectionType
    The enabled access level for Client Access over SSH.
    WebRdpAccess ConnectionType
    The enabled access level for Web Access over RDP.
    WebSshAccess ConnectionType
    The enabled access level for Web Access over SSH.
    clientRdpAccess ConnectionType
    The enabled access level for Client Access over RDP.
    clientSshAccess ConnectionType
    The enabled access level for Client Access over SSH.
    webRdpAccess ConnectionType
    The enabled access level for Web Access over RDP.
    webSshAccess ConnectionType
    The enabled access level for Web Access over SSH.
    clientRdpAccess ConnectionType
    The enabled access level for Client Access over RDP.
    clientSshAccess ConnectionType
    The enabled access level for Client Access over SSH.
    webRdpAccess ConnectionType
    The enabled access level for Web Access over RDP.
    webSshAccess ConnectionType
    The enabled access level for Web Access over SSH.
    client_rdp_access ConnectionType
    The enabled access level for Client Access over RDP.
    client_ssh_access ConnectionType
    The enabled access level for Client Access over SSH.
    web_rdp_access ConnectionType
    The enabled access level for Web Access over RDP.
    web_ssh_access ConnectionType
    The enabled access level for Web Access over SSH.
    clientRdpAccess "Public" | "Private" | "None"
    The enabled access level for Client Access over RDP.
    clientSshAccess "Public" | "Private" | "None"
    The enabled access level for Client Access over SSH.
    webRdpAccess "Public" | "Private" | "None"
    The enabled access level for Web Access over RDP.
    webSshAccess "Public" | "Private" | "None"
    The enabled access level for Web Access over SSH.

    ConnectionProfileResponse, ConnectionProfileResponseArgs

    ClientRdpAccess string
    The enabled access level for Client Access over RDP.
    ClientSshAccess string
    The enabled access level for Client Access over SSH.
    WebRdpAccess string
    The enabled access level for Web Access over RDP.
    WebSshAccess string
    The enabled access level for Web Access over SSH.
    ClientRdpAccess string
    The enabled access level for Client Access over RDP.
    ClientSshAccess string
    The enabled access level for Client Access over SSH.
    WebRdpAccess string
    The enabled access level for Web Access over RDP.
    WebSshAccess string
    The enabled access level for Web Access over SSH.
    clientRdpAccess String
    The enabled access level for Client Access over RDP.
    clientSshAccess String
    The enabled access level for Client Access over SSH.
    webRdpAccess String
    The enabled access level for Web Access over RDP.
    webSshAccess String
    The enabled access level for Web Access over SSH.
    clientRdpAccess string
    The enabled access level for Client Access over RDP.
    clientSshAccess string
    The enabled access level for Client Access over SSH.
    webRdpAccess string
    The enabled access level for Web Access over RDP.
    webSshAccess string
    The enabled access level for Web Access over SSH.
    client_rdp_access str
    The enabled access level for Client Access over RDP.
    client_ssh_access str
    The enabled access level for Client Access over SSH.
    web_rdp_access str
    The enabled access level for Web Access over RDP.
    web_ssh_access str
    The enabled access level for Web Access over SSH.
    clientRdpAccess String
    The enabled access level for Client Access over RDP.
    clientSshAccess String
    The enabled access level for Client Access over SSH.
    webRdpAccess String
    The enabled access level for Web Access over RDP.
    webSshAccess String
    The enabled access level for Web Access over SSH.

    ConnectionType, ConnectionTypeArgs

    Public
    Public
    Private
    Private
    None
    None
    ConnectionTypePublic
    Public
    ConnectionTypePrivate
    Private
    ConnectionTypeNone
    None
    Public
    Public
    Private
    Private
    None
    None
    Public
    Public
    Private
    Private
    None
    None
    PUBLIC
    Public
    PRIVATE
    Private
    NONE
    None
    "Public"
    Public
    "Private"
    Private
    "None"
    None

    EnableState, EnableStateArgs

    Enabled
    Enabled
    Disabled
    Disabled
    EnableStateEnabled
    Enabled
    EnableStateDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    Identity, IdentityArgs

    Type ResourceIdentityType
    The identity type.
    type ResourceIdentityType
    The identity type.
    type ResourceIdentityType
    The identity type.
    type ResourceIdentityType
    The identity type.
    type "SystemAssigned"
    The identity type.

    IdentityResponse, IdentityResponseArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    The identity type.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    The identity type.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.

    LabPlanNetworkProfile, LabPlanNetworkProfileArgs

    SubnetId string
    The external subnet resource id
    SubnetId string
    The external subnet resource id
    subnetId String
    The external subnet resource id
    subnetId string
    The external subnet resource id
    subnet_id str
    The external subnet resource id
    subnetId String
    The external subnet resource id

    LabPlanNetworkProfileResponse, LabPlanNetworkProfileResponseArgs

    SubnetId string
    The external subnet resource id
    SubnetId string
    The external subnet resource id
    subnetId String
    The external subnet resource id
    subnetId string
    The external subnet resource id
    subnet_id str
    The external subnet resource id
    subnetId String
    The external subnet resource id

    ResourceIdentityType, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    SystemAssigned
    SystemAssigned
    SystemAssigned
    SystemAssigned
    SYSTEM_ASSIGNED
    SystemAssigned
    "SystemAssigned"
    SystemAssigned

    ShutdownOnIdleMode, ShutdownOnIdleModeArgs

    None
    NoneThe VM won't be shut down when it is idle.
    UserAbsence
    UserAbsenceThe VM will be considered as idle when there is no keyboard or mouse input.
    LowUsage
    LowUsageThe VM will be considered as idle when user is absent and the resource (CPU and disk) consumption is low.
    ShutdownOnIdleModeNone
    NoneThe VM won't be shut down when it is idle.
    ShutdownOnIdleModeUserAbsence
    UserAbsenceThe VM will be considered as idle when there is no keyboard or mouse input.
    ShutdownOnIdleModeLowUsage
    LowUsageThe VM will be considered as idle when user is absent and the resource (CPU and disk) consumption is low.
    None
    NoneThe VM won't be shut down when it is idle.
    UserAbsence
    UserAbsenceThe VM will be considered as idle when there is no keyboard or mouse input.
    LowUsage
    LowUsageThe VM will be considered as idle when user is absent and the resource (CPU and disk) consumption is low.
    None
    NoneThe VM won't be shut down when it is idle.
    UserAbsence
    UserAbsenceThe VM will be considered as idle when there is no keyboard or mouse input.
    LowUsage
    LowUsageThe VM will be considered as idle when user is absent and the resource (CPU and disk) consumption is low.
    NONE
    NoneThe VM won't be shut down when it is idle.
    USER_ABSENCE
    UserAbsenceThe VM will be considered as idle when there is no keyboard or mouse input.
    LOW_USAGE
    LowUsageThe VM will be considered as idle when user is absent and the resource (CPU and disk) consumption is low.
    "None"
    NoneThe VM won't be shut down when it is idle.
    "UserAbsence"
    UserAbsenceThe VM will be considered as idle when there is no keyboard or mouse input.
    "LowUsage"
    LowUsageThe VM will be considered as idle when user is absent and the resource (CPU and disk) consumption is low.

    SupportInfo, SupportInfoArgs

    Email string
    Support contact email address.
    Instructions string
    Support instructions.
    Phone string
    Support contact phone number.
    Url string
    Support web address.
    Email string
    Support contact email address.
    Instructions string
    Support instructions.
    Phone string
    Support contact phone number.
    Url string
    Support web address.
    email String
    Support contact email address.
    instructions String
    Support instructions.
    phone String
    Support contact phone number.
    url String
    Support web address.
    email string
    Support contact email address.
    instructions string
    Support instructions.
    phone string
    Support contact phone number.
    url string
    Support web address.
    email str
    Support contact email address.
    instructions str
    Support instructions.
    phone str
    Support contact phone number.
    url str
    Support web address.
    email String
    Support contact email address.
    instructions String
    Support instructions.
    phone String
    Support contact phone number.
    url String
    Support web address.

    SupportInfoResponse, SupportInfoResponseArgs

    Email string
    Support contact email address.
    Instructions string
    Support instructions.
    Phone string
    Support contact phone number.
    Url string
    Support web address.
    Email string
    Support contact email address.
    Instructions string
    Support instructions.
    Phone string
    Support contact phone number.
    Url string
    Support web address.
    email String
    Support contact email address.
    instructions String
    Support instructions.
    phone String
    Support contact phone number.
    url String
    Support web address.
    email string
    Support contact email address.
    instructions string
    Support instructions.
    phone string
    Support contact phone number.
    url string
    Support web address.
    email str
    Support contact email address.
    instructions str
    Support instructions.
    phone str
    Support contact phone number.
    url str
    Support web address.
    email String
    Support contact email address.
    instructions String
    Support instructions.
    phone String
    Support contact phone number.
    url String
    Support web address.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

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

    $ pulumi import azure-native:labservices:LabPlan testlabplan /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi