# StatusCodesBasedTriggerProxy

- 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 StatusCodesBasedTrigger Azure Provisioning model.

## Definition

```typescript
interface StatusCodesBasedTriggerProxy {
  count: BicepValueProxy | number;
  path: BicepValueProxy | string;
  status: BicepValueProxy | number;
  subStatus: BicepValueProxy | number;
  timeInterval: BicepValueProxy | string;
  win32Status: BicepValueProxy | number;
  clearCount(): void;
  clearPath(): void;
  clearStatus(): void;
  clearSubStatus(): void;
  clearTimeInterval(): void;
  clearWin32Status(): void;
}
```

## Properties

- `count`: `BicepValueProxy | number` `get - set` -- Gets or sets the Count provisioning property.
- `path`: `BicepValueProxy | string` `get - set` -- Gets or sets the Path provisioning property.
- `status`: `BicepValueProxy | number` `get - set` -- Gets or sets the Status provisioning property.
- `subStatus`: `BicepValueProxy | number` `get - set` -- Gets or sets the SubStatus provisioning property.
- `timeInterval`: `BicepValueProxy | string` `get - set` -- Gets or sets the TimeInterval provisioning property.
- `win32Status`: `BicepValueProxy | number` `get - set` -- Gets or sets the Win32Status provisioning property.

## Methods

- [clearCount](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/statuscodesbasedtriggerproxy/clearcount.md) -- `method` -- Clears the Count provisioning property.
    ```typescript
  clearCount(): void
  ```
- [clearPath](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/statuscodesbasedtriggerproxy/clearpath.md) -- `method` -- Clears the Path provisioning property.
    ```typescript
  clearPath(): void
  ```
- [clearStatus](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/statuscodesbasedtriggerproxy/clearstatus.md) -- `method` -- Clears the Status provisioning property.
    ```typescript
  clearStatus(): void
  ```
- [clearSubStatus](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/statuscodesbasedtriggerproxy/clearsubstatus.md) -- `method` -- Clears the SubStatus provisioning property.
    ```typescript
  clearSubStatus(): void
  ```
- [clearTimeInterval](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/statuscodesbasedtriggerproxy/cleartimeinterval.md) -- `method` -- Clears the TimeInterval provisioning property.
    ```typescript
  clearTimeInterval(): void
  ```
- [clearWin32Status](/reference/api/typescript/aspire.hosting.azure.provisioning.appservice/statuscodesbasedtriggerproxy/clearwin32status.md) -- `method` -- Clears the Win32Status provisioning property.
    ```typescript
  clearWin32Status(): void
  ```
