共用方式為


VirtualNetworkEncryption Class

Definition

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

public class VirtualNetworkEncryption
type VirtualNetworkEncryption = class
Public Class VirtualNetworkEncryption
Inheritance
VirtualNetworkEncryption

Constructors

VirtualNetworkEncryption()

Initializes a new instance of the VirtualNetworkEncryption class.

VirtualNetworkEncryption(Boolean, String)

Initializes a new instance of the VirtualNetworkEncryption class.

Properties

Enabled

Gets or sets indicates if encryption is enabled on the virtual network.

Enforcement

Gets or sets if the encrypted VNet allows VM that does not support encryption. Possible values include: 'DropUnencrypted', 'AllowUnencrypted'

Methods

Validate()

Validate the object.

Applies to