Sdílet prostřednictvím


StorageSshPublicKey Class

Definition

The StorageSshPublicKey.

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

Constructors

StorageSshPublicKey()

Initializes a new instance of StorageSshPublicKey.

Properties

Description

Optional. It is used to store the function/usage of the key.

Key

Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', e.g. ssh-rsa AAAABBBB.

Explicit Interface Implementations

IJsonModel<StorageSshPublicKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageSshPublicKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageSshPublicKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageSshPublicKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageSshPublicKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to