Share via


KeyForDiskEncryptionSet Class

Definition

Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots.

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

Constructors

KeyForDiskEncryptionSet(Uri)

Initializes a new instance of KeyForDiskEncryptionSet.

Properties

KeyUri

Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.

SourceVaultId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyForDiskEncryptionSet>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyForDiskEncryptionSet>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyForDiskEncryptionSet>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyForDiskEncryptionSet>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyForDiskEncryptionSet>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to