Freigeben über


SshPublicKey Class

Definition

SshPublicKey represents the public key used to authenticate with a resource through SSH.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.SshPublicKeyTypeConverter))]
public class SshPublicKey : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ISshPublicKey
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.SshPublicKeyTypeConverter))>]
type SshPublicKey = class
    interface ISshPublicKey
    interface IJsonSerializable
Public Class SshPublicKey
Implements ISshPublicKey
Inheritance
SshPublicKey
Attributes
Implements

Constructors

SshPublicKey()

Creates an new SshPublicKey instance.

Properties

KeyData

The SSH public key data.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SshPublicKey.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SshPublicKey.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.ISshPublicKey.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SshPublicKey into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to