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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.labservices.getLabPlan
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieves the properties of a Lab Plan. Azure REST API version: 2022-08-01.
Other available API versions: 2023-06-07.
Using getLabPlan
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLabPlan(args: GetLabPlanArgs, opts?: InvokeOptions): Promise<GetLabPlanResult>
function getLabPlanOutput(args: GetLabPlanOutputArgs, opts?: InvokeOptions): Output<GetLabPlanResult>def get_lab_plan(lab_plan_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetLabPlanResult
def get_lab_plan_output(lab_plan_name: Optional[pulumi.Input[str]] = None,
                 resource_group_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetLabPlanResult]func LookupLabPlan(ctx *Context, args *LookupLabPlanArgs, opts ...InvokeOption) (*LookupLabPlanResult, error)
func LookupLabPlanOutput(ctx *Context, args *LookupLabPlanOutputArgs, opts ...InvokeOption) LookupLabPlanResultOutput> Note: This function is named LookupLabPlan in the Go SDK.
public static class GetLabPlan 
{
    public static Task<GetLabPlanResult> InvokeAsync(GetLabPlanArgs args, InvokeOptions? opts = null)
    public static Output<GetLabPlanResult> Invoke(GetLabPlanInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLabPlanResult> getLabPlan(GetLabPlanArgs args, InvokeOptions options)
public static Output<GetLabPlanResult> getLabPlan(GetLabPlanArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:labservices:getLabPlan
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LabPlan stringName 
- The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- LabPlan stringName 
- The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- labPlan StringName 
- The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- labPlan stringName 
- The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- lab_plan_ strname 
- The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- labPlan StringName 
- The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getLabPlan Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- Current provisioning state of the lab plan.
- SystemData Pulumi.Azure Native. Lab Services. Outputs. System Data Response 
- 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"
- AllowedRegions List<string>
- The allowed regions for the lab creator to use when creating labs using this lab plan.
- DefaultAuto Pulumi.Shutdown Profile Azure Native. Lab Services. Outputs. Auto Shutdown Profile Response 
- The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- DefaultConnection Pulumi.Profile Azure Native. Lab Services. Outputs. Connection Profile Response 
- The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- DefaultNetwork Pulumi.Profile Azure Native. Lab Services. Outputs. Lab Plan Network Profile Response 
- 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.Azure Native. Lab Services. Outputs. Identity Response 
- Managed Identity Information
- LinkedLms stringInstance 
- Base Url of the lms instance this lab plan can link lab rosters against.
- 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.Azure Native. Lab Services. Outputs. Support Info Response 
- 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.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- Current provisioning state of the lab plan.
- SystemData SystemData Response 
- 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"
- AllowedRegions []string
- The allowed regions for the lab creator to use when creating labs using this lab plan.
- DefaultAuto AutoShutdown Profile Shutdown Profile Response 
- The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- DefaultConnection ConnectionProfile Profile Response 
- The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- DefaultNetwork LabProfile Plan Network Profile Response 
- 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
IdentityResponse 
- Managed Identity Information
- LinkedLms stringInstance 
- Base Url of the lms instance this lab plan can link lab rosters against.
- 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 Response 
- 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.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- Current provisioning state of the lab plan.
- systemData SystemData Response 
- 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"
- allowedRegions List<String>
- The allowed regions for the lab creator to use when creating labs using this lab plan.
- defaultAuto AutoShutdown Profile Shutdown Profile Response 
- The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- defaultConnection ConnectionProfile Profile Response 
- The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- defaultNetwork LabProfile Plan Network Profile Response 
- 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
IdentityResponse 
- Managed Identity Information
- linkedLms StringInstance 
- Base Url of the lms instance this lab plan can link lab rosters against.
- 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 Response 
- 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.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioningState string
- Current provisioning state of the lab plan.
- systemData SystemData Response 
- 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"
- allowedRegions string[]
- The allowed regions for the lab creator to use when creating labs using this lab plan.
- defaultAuto AutoShutdown Profile Shutdown Profile Response 
- The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- defaultConnection ConnectionProfile Profile Response 
- The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- defaultNetwork LabProfile Plan Network Profile Response 
- 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
IdentityResponse 
- Managed Identity Information
- linkedLms stringInstance 
- Base Url of the lms instance this lab plan can link lab rosters against.
- 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 Response 
- 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.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_state str
- Current provisioning state of the lab plan.
- system_data SystemData Response 
- 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"
- allowed_regions Sequence[str]
- The allowed regions for the lab creator to use when creating labs using this lab plan.
- default_auto_ Autoshutdown_ profile Shutdown Profile Response 
- The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- default_connection_ Connectionprofile Profile Response 
- The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- default_network_ Labprofile Plan Network Profile Response 
- 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
IdentityResponse 
- Managed Identity Information
- linked_lms_ strinstance 
- Base Url of the lms instance this lab plan can link lab rosters against.
- 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 SupportInfo Response 
- 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.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- 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"
- allowedRegions List<String>
- The allowed regions for the lab creator to use when creating labs using this lab plan.
- defaultAuto Property MapShutdown Profile 
- The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- defaultConnection Property MapProfile 
- The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- defaultNetwork Property MapProfile 
- 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
- linkedLms StringInstance 
- Base Url of the lms instance this lab plan can link lab rosters against.
- 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.
- Map<String>
- Resource tags.
Supporting Types
AutoShutdownProfileResponse   
- 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.
- NoConnect stringDelay 
- The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- ShutdownOn stringDisconnect 
- Whether shutdown on disconnect is enabled
- ShutdownOn stringIdle 
- Whether a VM will get shutdown when it has idled for a period of time.
- ShutdownWhen stringNot Connected 
- 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.
- NoConnect stringDelay 
- The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- ShutdownOn stringDisconnect 
- Whether shutdown on disconnect is enabled
- ShutdownOn stringIdle 
- Whether a VM will get shutdown when it has idled for a period of time.
- ShutdownWhen stringNot Connected 
- 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.
- noConnect StringDelay 
- The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- shutdownOn StringDisconnect 
- Whether shutdown on disconnect is enabled
- shutdownOn StringIdle 
- Whether a VM will get shutdown when it has idled for a period of time.
- shutdownWhen StringNot Connected 
- 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.
- noConnect stringDelay 
- The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- shutdownOn stringDisconnect 
- Whether shutdown on disconnect is enabled
- shutdownOn stringIdle 
- Whether a VM will get shutdown when it has idled for a period of time.
- shutdownWhen stringNot Connected 
- 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_ strdelay 
- 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_ strdisconnect 
- Whether shutdown on disconnect is enabled
- shutdown_on_ stridle 
- Whether a VM will get shutdown when it has idled for a period of time.
- shutdown_when_ strnot_ connected 
- 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.
- noConnect StringDelay 
- The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- shutdownOn StringDisconnect 
- Whether shutdown on disconnect is enabled
- shutdownOn StringIdle 
- Whether a VM will get shutdown when it has idled for a period of time.
- shutdownWhen StringNot Connected 
- Whether a VM will get shutdown when it hasn't been connected to after a period of time.
ConnectionProfileResponse  
- ClientRdp stringAccess 
- The enabled access level for Client Access over RDP.
- ClientSsh stringAccess 
- The enabled access level for Client Access over SSH.
- WebRdp stringAccess 
- The enabled access level for Web Access over RDP.
- WebSsh stringAccess 
- The enabled access level for Web Access over SSH.
- ClientRdp stringAccess 
- The enabled access level for Client Access over RDP.
- ClientSsh stringAccess 
- The enabled access level for Client Access over SSH.
- WebRdp stringAccess 
- The enabled access level for Web Access over RDP.
- WebSsh stringAccess 
- The enabled access level for Web Access over SSH.
- clientRdp StringAccess 
- The enabled access level for Client Access over RDP.
- clientSsh StringAccess 
- The enabled access level for Client Access over SSH.
- webRdp StringAccess 
- The enabled access level for Web Access over RDP.
- webSsh StringAccess 
- The enabled access level for Web Access over SSH.
- clientRdp stringAccess 
- The enabled access level for Client Access over RDP.
- clientSsh stringAccess 
- The enabled access level for Client Access over SSH.
- webRdp stringAccess 
- The enabled access level for Web Access over RDP.
- webSsh stringAccess 
- The enabled access level for Web Access over SSH.
- client_rdp_ straccess 
- The enabled access level for Client Access over RDP.
- client_ssh_ straccess 
- The enabled access level for Client Access over SSH.
- web_rdp_ straccess 
- The enabled access level for Web Access over RDP.
- web_ssh_ straccess 
- The enabled access level for Web Access over SSH.
- clientRdp StringAccess 
- The enabled access level for Client Access over RDP.
- clientSsh StringAccess 
- The enabled access level for Client Access over SSH.
- webRdp StringAccess 
- The enabled access level for Web Access over RDP.
- webSsh StringAccess 
- The enabled access level for Web Access over SSH.
IdentityResponse 
- 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.
LabPlanNetworkProfileResponse    
- 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
SupportInfoResponse  
- 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  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi