Share via


ClusterSecretReference Class

Definition

Secret reference and corresponding properties of a key vault secret.

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

Constructors

ClusterSecretReference(String, KeyVaultObjectType, String)

Initializes a new instance of ClusterSecretReference.

Properties

KeyVaultObjectName

Object identifier name of the secret in key vault.

KeyVaultObjectType

Type of key vault object: secret, key or certificate.

ReferenceName

Reference name of the secret to be used in service configs.

Version

Version of the secret in key vault.

Explicit Interface Implementations

IJsonModel<ClusterSecretReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClusterSecretReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterSecretReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterSecretReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClusterSecretReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to