# EventHubsThrottlingPolicyProxy

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

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
  ```
