VirtualNetworkEncryption Class
Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.network._serialization.ModelVirtualNetworkEncryption
Constructor
VirtualNetworkEncryption(*, enabled: bool, enforcement: str | _models.VirtualNetworkEncryptionEnforcement | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
enabled
|
Indicates if encryption is enabled on the virtual network. Required. |
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. Known values are: "DropUnencrypted" and "AllowUnencrypted". |
Variables
Name | Description |
---|---|
enabled
|
Indicates if encryption is enabled on the virtual network. Required. |
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. Known values are: "DropUnencrypted" and "AllowUnencrypted". |
Azure SDK for Python