你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.Api20240701.SshPublicKeyTypeConverter))]
public class SshPublicKey : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.ISshPublicKey
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20240701.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.Api20240701.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