共用方式為


SshGenerateKeyPairInputContent Class

Definition

Parameters for GenerateSshKeyPair.

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

Constructors

SshGenerateKeyPairInputContent()

Initializes a new instance of SshGenerateKeyPairInputContent.

Properties

EncryptionType

The encryption type of the SSH keys to be generated. See SshEncryptionTypes for possible set of values. If not provided, will default to RSA.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SshGenerateKeyPairInputContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SshGenerateKeyPairInputContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SshGenerateKeyPairInputContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SshGenerateKeyPairInputContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SshGenerateKeyPairInputContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to