Udostępnij za pośrednictwem


DataBoxEdgeDeviceSecret Class

Definition

Holds device secret either as a KeyVault reference or as an encrypted value.

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

Properties

EncryptedSecret

Encrypted (using device public key) secret value.

KeyVaultId

Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxEdgeDeviceSecret>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataBoxEdgeDeviceSecret>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxEdgeDeviceSecret>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataBoxEdgeDeviceSecret>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataBoxEdgeDeviceSecret>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to