共用方式為


LabVirtualMachineProfile Class

Definition

The base virtual machine configuration for a lab.

public class LabVirtualMachineProfile
type LabVirtualMachineProfile = class
Public Class LabVirtualMachineProfile
Inheritance
LabVirtualMachineProfile

Constructors

LabVirtualMachineProfile(LabVirtualMachineCreateOption, LabVirtualMachineImageReference, LabServicesSku, TimeSpan, LabVirtualMachineCredential)

Initializes a new instance of LabVirtualMachineProfile.

Properties

AdditionalCapabilitiesInstallGpuDrivers

Flag to pre-install dedicated GPU drivers.

AdminUser

Credentials for the admin user on the VM.

CreateOption

Indicates what lab virtual machines are created from.

ImageReference

The image configuration for lab virtual machines.

NonAdminUser

Credentials for the non-admin user on the VM, if one exists.

OSType

The OS type of the image.

Sku

The SKU for the lab. Defines the type of virtual machines used in the lab.

UsageQuota

The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours.

UseSharedPassword

Enabling this option will use the same password for all user VMs.

Applies to