Partilhar via


NetworkCloudSshPublicKey Class

Definition

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

public class NetworkCloudSshPublicKey
public class NetworkCloudSshPublicKey : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudSshPublicKey>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudSshPublicKey>
type NetworkCloudSshPublicKey = class
type NetworkCloudSshPublicKey = class
    interface IJsonModel<NetworkCloudSshPublicKey>
    interface IPersistableModel<NetworkCloudSshPublicKey>
Public Class NetworkCloudSshPublicKey
Public Class NetworkCloudSshPublicKey
Implements IJsonModel(Of NetworkCloudSshPublicKey), IPersistableModel(Of NetworkCloudSshPublicKey)
Inheritance
NetworkCloudSshPublicKey
Implements

Constructors

NetworkCloudSshPublicKey(String)

Initializes a new instance of NetworkCloudSshPublicKey.

Properties

KeyData

The SSH public key data.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetworkCloudSshPublicKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NetworkCloudSshPublicKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkCloudSshPublicKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkCloudSshPublicKey>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NetworkCloudSshPublicKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to