# StatusCodesBasedTriggerProxy

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

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