# RequestsBasedTriggerProxy

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

Represents the RequestsBasedTrigger Azure Provisioning model.

## Definition

```typescript
interface RequestsBasedTriggerProxy {
  count: BicepValueProxy | number;
  timeInterval: BicepValueProxy | string;
  clearCount(): void;
  clearTimeInterval(): void;
}
```

## Properties

- `count`: `BicepValueProxy | number` `get - set` -- Gets or sets the Count provisioning property.
- `timeInterval`: `BicepValueProxy | string` `get - set` -- Gets or sets the TimeInterval provisioning property.

## Methods

- [clearCount](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/requestsbasedtriggerproxy/clearcount.md) -- `method` -- Clears the Count provisioning property.
    ```typescript
  clearCount(): void
  ```
- [clearTimeInterval](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/requestsbasedtriggerproxy/cleartimeinterval.md) -- `method` -- Clears the TimeInterval provisioning property.
    ```typescript
  clearTimeInterval(): void
  ```
