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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:labservices:getLabPlan
arguments:
# arguments dictionary
The following arguments are supported:
- Lab
Plan stringName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Lab
Plan stringName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- lab
Plan StringName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- lab
Plan stringName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resource
Group 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.
- lab
Plan StringName - The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.
- resource
Group 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
- Provisioning
State string - Current provisioning state of the lab plan.
- System
Data 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"
- Allowed
Regions List<string> - The allowed regions for the lab creator to use when creating labs using this lab plan.
- Default
Auto 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.
- Default
Connection 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.
- Default
Network 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
- Linked
Lms 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.
- Support
Info 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
- Provisioning
State string - Current provisioning state of the lab plan.
- System
Data 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"
- Allowed
Regions []string - 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
Identity
Response - Managed Identity Information
- Linked
Lms 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.
- 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.
- 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
- provisioning
State String - Current provisioning state of the lab plan.
- system
Data 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"
- allowed
Regions List<String> - 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
Identity
Response - Managed Identity Information
- linked
Lms 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.
- 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.
- 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
- provisioning
State string - Current provisioning state of the lab plan.
- system
Data 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"
- allowed
Regions string[] - 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
Identity
Response - Managed Identity Information
- linked
Lms 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.
- 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.
- {[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
Identity
Response - 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
- provisioning
State String - Current provisioning state of the lab plan.
- system
Data 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"
- allowed
Regions List<String> - The allowed regions for the lab creator to use when creating labs using this lab plan.
- default
Auto Property MapShutdown Profile - The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- default
Connection Property MapProfile - The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- default
Network 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
- linked
Lms 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.
- support
Info 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
- Disconnect
Delay string - The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
- Idle
Delay string - The amount of time a VM will idle before it is shutdown if this behavior is enabled.
- No
Connect stringDelay - The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- Shutdown
On stringDisconnect - Whether shutdown on disconnect is enabled
- Shutdown
On stringIdle - Whether a VM will get shutdown when it has idled for a period of time.
- Shutdown
When stringNot Connected - Whether a VM will get shutdown when it hasn't been connected to after a period of time.
- Disconnect
Delay string - The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
- Idle
Delay string - The amount of time a VM will idle before it is shutdown if this behavior is enabled.
- No
Connect stringDelay - The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- Shutdown
On stringDisconnect - Whether shutdown on disconnect is enabled
- Shutdown
On stringIdle - Whether a VM will get shutdown when it has idled for a period of time.
- Shutdown
When stringNot Connected - Whether a VM will get shutdown when it hasn't been connected to after a period of time.
- disconnect
Delay String - The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
- idle
Delay String - The amount of time a VM will idle before it is shutdown if this behavior is enabled.
- no
Connect StringDelay - The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- shutdown
On StringDisconnect - Whether shutdown on disconnect is enabled
- shutdown
On StringIdle - Whether a VM will get shutdown when it has idled for a period of time.
- shutdown
When StringNot Connected - Whether a VM will get shutdown when it hasn't been connected to after a period of time.
- disconnect
Delay string - The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
- idle
Delay string - The amount of time a VM will idle before it is shutdown if this behavior is enabled.
- no
Connect stringDelay - The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- shutdown
On stringDisconnect - Whether shutdown on disconnect is enabled
- shutdown
On stringIdle - Whether a VM will get shutdown when it has idled for a period of time.
- shutdown
When 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.
- disconnect
Delay String - The amount of time a VM will stay running after a user disconnects if this behavior is enabled.
- idle
Delay String - The amount of time a VM will idle before it is shutdown if this behavior is enabled.
- no
Connect StringDelay - The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.
- shutdown
On StringDisconnect - Whether shutdown on disconnect is enabled
- shutdown
On StringIdle - Whether a VM will get shutdown when it has idled for a period of time.
- shutdown
When StringNot Connected - Whether a VM will get shutdown when it hasn't been connected to after a period of time.
ConnectionProfileResponse
- Client
Rdp stringAccess - The enabled access level for Client Access over RDP.
- Client
Ssh stringAccess - The enabled access level for Client Access over SSH.
- Web
Rdp stringAccess - The enabled access level for Web Access over RDP.
- Web
Ssh stringAccess - The enabled access level for Web Access over SSH.
- Client
Rdp stringAccess - The enabled access level for Client Access over RDP.
- Client
Ssh stringAccess - The enabled access level for Client Access over SSH.
- Web
Rdp stringAccess - The enabled access level for Web Access over RDP.
- Web
Ssh stringAccess - The enabled access level for Web Access over SSH.
- client
Rdp StringAccess - The enabled access level for Client Access over RDP.
- client
Ssh StringAccess - The enabled access level for Client Access over SSH.
- web
Rdp StringAccess - The enabled access level for Web Access over RDP.
- web
Ssh StringAccess - The enabled access level for Web Access over SSH.
- client
Rdp stringAccess - The enabled access level for Client Access over RDP.
- client
Ssh stringAccess - The enabled access level for Client Access over SSH.
- web
Rdp stringAccess - The enabled access level for Web Access over RDP.
- web
Ssh 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.
- client
Rdp StringAccess - The enabled access level for Client Access over RDP.
- client
Ssh StringAccess - The enabled access level for Client Access over SSH.
- web
Rdp StringAccess - The enabled access level for Web Access over RDP.
- web
Ssh StringAccess - The enabled access level for Web Access over SSH.
IdentityResponse
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- principal
Id string - The principal ID of resource identity.
- tenant
Id 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.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
LabPlanNetworkProfileResponse
- Subnet
Id string - The external subnet resource id
- Subnet
Id string - The external subnet resource id
- subnet
Id String - The external subnet resource id
- subnet
Id string - The external subnet resource id
- subnet_
id str - The external subnet resource id
- subnet
Id 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi