Share via


VirtualNetworkEncryption Constructors

Definition

Overloads

VirtualNetworkEncryption()

Initializes a new instance of the VirtualNetworkEncryption class.

VirtualNetworkEncryption(Boolean, String)

Initializes a new instance of the VirtualNetworkEncryption class.

VirtualNetworkEncryption()

Initializes a new instance of the VirtualNetworkEncryption class.

public VirtualNetworkEncryption ();
Public Sub New ()

Applies to

VirtualNetworkEncryption(Boolean, String)

Initializes a new instance of the VirtualNetworkEncryption class.

public VirtualNetworkEncryption (bool enabled, string enforcement = default);
new Microsoft.Azure.Management.Network.Models.VirtualNetworkEncryption : bool * string -> Microsoft.Azure.Management.Network.Models.VirtualNetworkEncryption
Public Sub New (enabled As Boolean, Optional enforcement As String = Nothing)

Parameters

enabled
Boolean

Indicates if encryption is enabled on the virtual network.

enforcement
String

If the encrypted VNet allows VM that does not support encryption. Possible values include: 'DropUnencrypted', 'AllowUnencrypted'

Applies to