Share via


VirtualMachineSshCredentials Class

Definition

Admin credentials for virtual machine

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineSshCredentialsTypeConverter))]
public class VirtualMachineSshCredentials : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachineSshCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineSshCredentialsTypeConverter))>]
type VirtualMachineSshCredentials = class
    interface IVirtualMachineSshCredentials
    interface IJsonSerializable
Public Class VirtualMachineSshCredentials
Implements IVirtualMachineSshCredentials
Inheritance
VirtualMachineSshCredentials
Attributes
Implements

Constructors

VirtualMachineSshCredentials()

Creates an new VirtualMachineSshCredentials instance.

Properties

Password

Password of admin account

PrivateKeyData

Private key data

PublicKeyData

Public key data

Username

Username of admin account

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineSshCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineSshCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachineSshCredentials.

FromJsonString(String)

Creates a new instance of VirtualMachineSshCredentials, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineSshCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to