VirtualMachineProperties 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.
Virtual machine resource properties
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.VirtualMachinePropertiesTypeConverter))]
public class VirtualMachineProperties : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachineProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.VirtualMachinePropertiesTypeConverter))>]
type VirtualMachineProperties = class
interface IVirtualMachineProperties
interface IJsonSerializable
Public Class VirtualMachineProperties
Implements IVirtualMachineProperties
- Inheritance
-
VirtualMachineProperties
- Attributes
- Implements
Constructors
VirtualMachineProperties() |
Creates an new VirtualMachineProperties instance. |
Properties
ClaimedByUserId |
The lab user ID (not the PUID!) of who claimed the virtual machine. |
ConnectionProfileAdminUsername |
The username used to log on to the virtual machine as admin. |
ConnectionProfileNonAdminUsername |
The username used to log on to the virtual machine as non-admin, if one exists. |
ConnectionProfilePrivateIPAddress |
The private IP address of the virtual machine. |
ConnectionProfileRdpAuthority |
Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine. |
ConnectionProfileRdpInBrowserUrl |
URL for connecting via RDP protocol to the virtual machine in browser. |
ConnectionProfileSshAuthority |
Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine. |
ConnectionProfileSshInBrowserUrl |
URL for connecting via SSH protocol to the virtual machine in browser. |
ProvisioningState |
Current provisioning state of the virtual machine. |
State |
The current state of the virtual machine |
VMType |
The type of this VM resource |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualMachineProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualMachineProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachineProperties. |
FromJsonString(String) |
Creates a new instance of VirtualMachineProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualMachineProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |