Get-AzLabServicesTemplateVM
API to get the template vm for the lab.
Syntax
Get-AzLabServicesTemplateVM
-ResourceGroupName <String>
-LabName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzLabServicesTemplateVM
[-SubscriptionId <String[]>]
-Lab <Lab>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
API to get the template vm for the lab.
Examples
Example 1: Get the template for the lab.
Get-AzLabServicesTemplateVM -ResourceGroupName "group name" -LabName "lab name"
Name Type
---- ----
0 Microsoft.LabServices/labs/virtualMachines
Returns the template VM for the lab.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Lab
To construct, see NOTES section for LAB properties and create a hash table.
Type: | Lab |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-LabName
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell