VirtualNetworkEncryption Class

Definition

Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.

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

Constructors

VirtualNetworkEncryption(Boolean)

Initializes a new instance of VirtualNetworkEncryption.

Properties

Enforcement

If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.

IsEnabled

Indicates if encryption is enabled on the virtual network.

Explicit Interface Implementations

IJsonModel<VirtualNetworkEncryption>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualNetworkEncryption>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualNetworkEncryption>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkEncryption>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualNetworkEncryption>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to