Share via


SecretArchiveReference Class

Definition

SecretArchiveReference represents the reference to a secret in a key vault.

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

Properties

KeyVaultId

The resource ID of the key vault containing the secret.

SecretName

The name of the secret in the key vault.

SecretVersion

The version of the secret in the key vault.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SecretArchiveReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecretArchiveReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecretArchiveReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecretArchiveReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecretArchiveReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to