VirtualMachineConnectionProfile 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 connection information for the virtual machine
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.VirtualMachineConnectionProfileTypeConverter))]
public class VirtualMachineConnectionProfile : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachineConnectionProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.VirtualMachineConnectionProfileTypeConverter))>]
type VirtualMachineConnectionProfile = class
interface IVirtualMachineConnectionProfile
interface IJsonSerializable
Public Class VirtualMachineConnectionProfile
Implements IVirtualMachineConnectionProfile
- Inheritance
-
VirtualMachineConnectionProfile
- Attributes
- Implements
Constructors
VirtualMachineConnectionProfile() |
Creates an new VirtualMachineConnectionProfile instance. |
Properties
AdminUsername |
The username used to log on to the virtual machine as admin. |
NonAdminUsername |
The username used to log on to the virtual machine as non-admin, if one exists. |
PrivateIPAddress |
The private IP address of the virtual machine. |
RdpAuthority |
Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine. |
RdpInBrowserUrl |
URL for connecting via RDP protocol to the virtual machine in browser. |
SshAuthority |
Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine. |
SshInBrowserUrl |
URL for connecting via SSH protocol to the virtual machine in browser. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of VirtualMachineConnectionProfile. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of VirtualMachineConnectionProfile. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachineConnectionProfile. |
FromJsonString(String) |
Creates a new instance of VirtualMachineConnectionProfile, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of VirtualMachineConnectionProfile into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |