VirtualMachineProfile Class

Definition

The base virtual machine configuration for a lab.

public class VirtualMachineProfile
type VirtualMachineProfile = class
Public Class VirtualMachineProfile
Inheritance
VirtualMachineProfile

Constructors

VirtualMachineProfile()

Initializes a new instance of the VirtualMachineProfile class.

VirtualMachineProfile(CreateOption, ImageReference, Sku, TimeSpan, Credentials, Nullable<OsType>, VirtualMachineAdditionalCapabilities, Nullable<EnableState>, Credentials)

Initializes a new instance of the VirtualMachineProfile class.

Properties

AdditionalCapabilities

Gets or sets additional VM capabilities.

AdminUser

Gets or sets credentials for the admin user on the VM.

CreateOption

Gets or sets indicates what lab virtual machines are created from. Possible values include: 'Image', 'TemplateVM'

ImageReference

Gets or sets the image configuration for lab virtual machines.

NonAdminUser

Gets or sets credentials for the non-admin user on the VM, if one exists.

OsType

Gets the OS type of the image. Possible values include: 'Windows', 'Linux'

Sku

Gets or sets the SKU for the lab. Defines the type of virtual machines used in the lab.

UsageQuota

Gets or sets the initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours.

UseSharedPassword

Gets or sets enabling this option will use the same password for all user VMs. Possible values include: 'Enabled', 'Disabled'

Methods

Validate()

Validate the object.

Applies to