# VirtualNetworkEncryptionProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Network](/reference/api/typescript/aspire.hosting.azure.provisioning.network.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the VirtualNetworkEncryption Azure Provisioning model.

## Definition

```typescript
interface VirtualNetworkEncryptionProxy {
  enforcement: BicepValueProxy | VirtualNetworkEncryptionEnforcement;
  isEnabled: BicepValueProxy | boolean;
  clearEnforcement(): void;
  clearIsEnabled(): void;
}
```

## Properties

- `enforcement`: `BicepValueProxy | VirtualNetworkEncryptionEnforcement` `get - set` -- Gets or sets the Enforcement provisioning property.
- `isEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsEnabled provisioning property.

## Methods

- [clearEnforcement](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualnetworkencryptionproxy/clearenforcement.md) -- `method` -- Clears the Enforcement provisioning property.
    ```typescript
  clearEnforcement(): void
  ```
- [clearIsEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualnetworkencryptionproxy/clearisenabled.md) -- `method` -- Clears the IsEnabled provisioning property.
    ```typescript
  clearIsEnabled(): void
  ```
