VirtualNetworkEncryption Class

Definition

Compatibility declaration for the VirtualNetworkEncryption type.

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

Constructors

Name Description
VirtualNetworkEncryption(Boolean)

Initializes a new instance of VirtualNetworkEncryption.

Properties

Name Description
Enabled

Indicates if encryption is enabled on the virtual network.

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

Compatibility member.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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