# EventHubsThrottlingPolicyProxy

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

Represents the EventHubsThrottlingPolicy Azure Provisioning model.

## Definition

```typescript
interface EventHubsThrottlingPolicyProxy {
  metricId: BicepValueProxy | EventHubsMetricId;
  rateLimitThreshold: BicepValueProxy | number;
  clearMetricId(): void;
  clearRateLimitThreshold(): void;
}
```

## Properties

- `metricId`: `BicepValueProxy | EventHubsMetricId` `get - set` -- Gets or sets the MetricId provisioning property.
- `rateLimitThreshold`: `BicepValueProxy | number` `get - set` -- Gets or sets the RateLimitThreshold provisioning property.

## Methods

- [clearMetricId](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsthrottlingpolicyproxy/clearmetricid.md) -- `method` -- Clears the MetricId provisioning property.
    ```typescript
  clearMetricId(): void
  ```
- [clearRateLimitThreshold](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsthrottlingpolicyproxy/clearratelimitthreshold.md) -- `method` -- Clears the RateLimitThreshold provisioning property.
    ```typescript
  clearRateLimitThreshold(): void
  ```
