SapSshPublicKey Class

Definition

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

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

Constructors

SapSshPublicKey()

Initializes a new instance of SapSshPublicKey.

Properties

KeyData

SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.

Explicit Interface Implementations

IJsonModel<SapSshPublicKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SapSshPublicKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SapSshPublicKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SapSshPublicKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SapSshPublicKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to