VirtualNetworkEncryption Constructors
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.
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'