LabVirtualMachineProfile Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LabVirtualMachineProfile.
public LabVirtualMachineProfile (Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption createOption, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference imageReference, Azure.ResourceManager.LabServices.Models.LabServicesSku sku, TimeSpan usageQuota, Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential adminUser);
new Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile : Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption * Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference * Azure.ResourceManager.LabServices.Models.LabServicesSku * TimeSpan * Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential -> Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile
Public Sub New (createOption As LabVirtualMachineCreateOption, imageReference As LabVirtualMachineImageReference, sku As LabServicesSku, usageQuota As TimeSpan, adminUser As LabVirtualMachineCredential)
Parameters
- createOption
- LabVirtualMachineCreateOption
Indicates what lab virtual machines are created from.
- imageReference
- LabVirtualMachineImageReference
The image configuration for lab virtual machines.
- sku
- LabServicesSku
The SKU for the lab. Defines the type of virtual machines used in the lab.
- usageQuota
- TimeSpan
The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours.
- adminUser
- LabVirtualMachineCredential
Credentials for the admin user on the VM.
Exceptions
imageReference
, sku
or adminUser
is null.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET