KeyVaultKeyReference Class

Definition

Describes a reference to Key Vault Key.

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

Constructors

KeyVaultKeyReference(Uri, WritableSubResource)

Initializes a new instance of KeyVaultKeyReference.

Properties

KeyUri

The URL referencing a key encryption key in Key Vault.

SourceVaultId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyVaultKeyReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultKeyReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultKeyReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultKeyReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultKeyReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to