Partager via


VirtualMachineProfile interface

The base virtual machine configuration for a lab.

Properties

additionalCapabilities

Additional VM capabilities.

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 NOTE: This property will not be serialized. It can only be populated by the server.

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.

Property Details

additionalCapabilities

Additional VM capabilities.

additionalCapabilities?: VirtualMachineAdditionalCapabilities

Property Value

adminUser

Credentials for the admin user on the VM.

adminUser: Credentials

Property Value

createOption

Indicates what lab virtual machines are created from.

createOption: CreateOption

Property Value

imageReference

The image configuration for lab virtual machines.

imageReference: ImageReference

Property Value

nonAdminUser

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

nonAdminUser?: Credentials

Property Value

osType

The OS type of the image NOTE: This property will not be serialized. It can only be populated by the server.

osType?: OsType

Property Value

sku

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

sku: Sku

Property Value

Sku

usageQuota

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

usageQuota: string

Property Value

string

useSharedPassword

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

useSharedPassword?: EnableState

Property Value