# DdosSettingsProxy

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

Represents the DdosSettings Azure Provisioning model.

## Definition

```typescript
interface DdosSettingsProxy {
  ddosProtectionPlanId: BicepValueProxy;
  protectionMode: BicepValueProxy | DdosSettingsProtectionMode;
  clearDdosProtectionPlanId(): void;
  clearProtectionMode(): void;
}
```

## Properties

- `ddosProtectionPlanId`: `BicepValueProxy` `get - set` -- Gets or sets the DdosProtectionPlanId provisioning property.
- `protectionMode`: `BicepValueProxy | DdosSettingsProtectionMode` `get - set` -- Gets or sets the ProtectionMode provisioning property.

## Methods

- [clearDdosProtectionPlanId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/ddossettingsproxy/clearddosprotectionplanid.md) -- `method` -- Clears the DdosProtectionPlanId provisioning property.
    ```typescript
  clearDdosProtectionPlanId(): void
  ```
- [clearProtectionMode](/reference/api/typescript/aspire.hosting.azure.provisioning.network/ddossettingsproxy/clearprotectionmode.md) -- `method` -- Clears the ProtectionMode provisioning property.
    ```typescript
  clearProtectionMode(): void
  ```
