共用方式為


SapSshKeyPair Class

Definition

The SSH Key-pair used to authenticate with the VM. 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.

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

Constructors

SapSshKeyPair()

Initializes a new instance of SapSshKeyPair.

Properties

PrivateKey

SSH private key.

PublicKey

SSH public key.

Explicit Interface Implementations

IJsonModel<SapSshKeyPair>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SapSshKeyPair>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SapSshKeyPair>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SapSshKeyPair>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SapSshKeyPair>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to