Share via


SshKeyPair Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.SshKeyPairTypeConverter))]
public class SshKeyPair : Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISshKeyPair
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.SshKeyPairTypeConverter))>]
type SshKeyPair = class
    interface ISshKeyPair
    interface IJsonSerializable
Public Class SshKeyPair
Implements ISshKeyPair
Inheritance
SshKeyPair
Attributes
Implements

Constructors

SshKeyPair()

Creates an new SshKeyPair instance.

Properties

PrivateKey

SSH private key.

PublicKey

SSH public key

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SshKeyPair.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SshKeyPair.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20231001Preview.ISshKeyPair.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SshKeyPair into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to