DiskEncryptionSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a Encryption Settings for a Disk.
public class DiskEncryptionSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.DiskEncryptionSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.DiskEncryptionSettings>
type DiskEncryptionSettings = class
interface IJsonModel<DiskEncryptionSettings>
interface IPersistableModel<DiskEncryptionSettings>
Public Class DiskEncryptionSettings
Implements IJsonModel(Of DiskEncryptionSettings), IPersistableModel(Of DiskEncryptionSettings)
- Inheritance
-
DiskEncryptionSettings
- Implements
Constructors
DiskEncryptionSettings() |
Initializes a new instance of DiskEncryptionSettings. |
Properties
DiskEncryptionKey |
Specifies the location of the disk encryption key, which is a Key Vault Secret. |
Enabled |
Specifies whether disk encryption should be enabled on the virtual machine. |
KeyEncryptionKey |
Specifies the location of the key encryption key in Key Vault. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DiskEncryptionSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DiskEncryptionSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DiskEncryptionSettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DiskEncryptionSettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DiskEncryptionSettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET