Sdílet prostřednictvím


SshPublicKey Class

Definition

Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

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

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.Workloads.Models.Api20231001Preview.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