VirtualMachineProfile Class
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.
The base virtual machine configuration for a lab.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.VirtualMachineProfileTypeConverter))]
public class VirtualMachineProfile : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachineProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.VirtualMachineProfileTypeConverter))>]
type VirtualMachineProfile = class
interface IVirtualMachineProfile
interface IJsonSerializable
Public Class VirtualMachineProfile
Implements IVirtualMachineProfile
- Inheritance
-
VirtualMachineProfile
- Attributes
- Implements
Constructors
VirtualMachineProfile() |
Creates an new VirtualMachineProfile instance. |
Properties
AdditionalCapabilityInstallGpuDriver |
Flag to pre-install dedicated GPU drivers. |
AdminUserPassword |
The password for the user. This is required for the TemplateVM createOption. |
AdminUserUsername |
The username to use when signing in to lab VMs. |
CreateOption |
Indicates what lab virtual machines are created from. |
ImageReferenceExactVersion |
The actual version of the image after use. |
ImageReferenceId |
Image resource ID |
ImageReferenceOffer |
The image offer if applicable. |
ImageReferencePublisher |
The image publisher |
ImageReferenceSku |
The image SKU |
ImageReferenceVersion |
The image version specified on creation. |
NonAdminUserPassword |
The password for the user. This is required for the TemplateVM createOption. |
NonAdminUserUsername |
The username to use when signing in to lab VMs. |
OSType |
The OS type of the image |
SkuCapacity |
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
SkuFamily |
If the service has different generations of hardware, for the same SKU, then that can be captured here. |
SkuName |
The name of the SKU. Ex - P3. It is typically a letter+number code |
SkuSize |
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. |
SkuTier |
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. |
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. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualMachineProfile. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualMachineProfile. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachineProfile. |
FromJsonString(String) |
Creates a new instance of VirtualMachineProfile, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualMachineProfile into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |