Condividi tramite


KeyVaultAndKeyReference Class

Definition

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey.

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

Constructors

KeyVaultAndKeyReference(WritableSubResource, Uri)

Initializes a new instance of KeyVaultAndKeyReference.

Properties

KeyUri

Url pointing to a key or secret in KeyVault.

SourceVaultId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyVaultAndKeyReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultAndKeyReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultAndKeyReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultAndKeyReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultAndKeyReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to