KeyVaultAndSecretReference Class

Definition

Key Vault Secret Url and vault id of the encryption key.

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

Constructors

KeyVaultAndSecretReference(WritableSubResource, Uri)

Initializes a new instance of KeyVaultAndSecretReference.

Properties

SecretUri

Url pointing to a key or secret in KeyVault.

SourceVaultId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyVaultAndSecretReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultAndSecretReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultAndSecretReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultAndSecretReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultAndSecretReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to