Share via


KeyVaultSecretReferenceSecretInfo Class

Definition

The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId.

public class KeyVaultSecretReferenceSecretInfo : Azure.ResourceManager.ServiceLinker.Models.SecretBaseInfo, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceLinker.Models.KeyVaultSecretReferenceSecretInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceLinker.Models.KeyVaultSecretReferenceSecretInfo>
public class KeyVaultSecretReferenceSecretInfo : Azure.ResourceManager.ServiceLinker.Models.SecretBaseInfo
type KeyVaultSecretReferenceSecretInfo = class
    inherit SecretBaseInfo
    interface IJsonModel<KeyVaultSecretReferenceSecretInfo>
    interface IPersistableModel<KeyVaultSecretReferenceSecretInfo>
type KeyVaultSecretReferenceSecretInfo = class
    inherit SecretBaseInfo
Public Class KeyVaultSecretReferenceSecretInfo
Inherits SecretBaseInfo
Implements IJsonModel(Of KeyVaultSecretReferenceSecretInfo), IPersistableModel(Of KeyVaultSecretReferenceSecretInfo)
Public Class KeyVaultSecretReferenceSecretInfo
Inherits SecretBaseInfo
Inheritance
KeyVaultSecretReferenceSecretInfo
Implements

Constructors

KeyVaultSecretReferenceSecretInfo()

Initializes a new instance of KeyVaultSecretReferenceSecretInfo.

Properties

Name

Name of the Key Vault secret.

Version

Version of the Key Vault secret.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyVaultSecretReferenceSecretInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultSecretReferenceSecretInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SecretBaseInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from SecretBaseInfo)
IJsonModel<SecretBaseInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SecretBaseInfo)
IPersistableModel<KeyVaultSecretReferenceSecretInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultSecretReferenceSecretInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultSecretReferenceSecretInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SecretBaseInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SecretBaseInfo)
IPersistableModel<SecretBaseInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from SecretBaseInfo)
IPersistableModel<SecretBaseInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SecretBaseInfo)

Applies to