# ResponseBasedOriginErrorDetectionSettingsProxy

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

Represents the ResponseBasedOriginErrorDetectionSettings Azure Provisioning model.

## Definition

```typescript
interface ResponseBasedOriginErrorDetectionSettingsProxy {
  httpErrorRanges: Aspire_Hosting_Azure_Provisioning_Cdn_Generated_ListOfHttpErrorRangeProxy;
  responseBasedDetectedErrorType: BicepValueProxy | ResponseBasedDetectedErrorType;
  responseBasedFailoverThresholdPercentage: BicepValueProxy | number;
  clearResponseBasedDetectedErrorType(): void;
  clearResponseBasedFailoverThresholdPercentage(): void;
}
```

## Properties

- `httpErrorRanges`: [Aspire_Hosting_Azure_Provisioning_Cdn_Generated_ListOfHttpErrorRangeProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/aspire-hosting-azure-provisioning-cdn-generated-listofhttperrorrangeproxy.md) `get - set` -- Gets or sets the HttpErrorRanges provisioning property.
- `responseBasedDetectedErrorType`: `BicepValueProxy | ResponseBasedDetectedErrorType` `get - set` -- Gets or sets the ResponseBasedDetectedErrorType provisioning property.
- `responseBasedFailoverThresholdPercentage`: `BicepValueProxy | number` `get - set` -- Gets or sets the ResponseBasedFailoverThresholdPercentage provisioning property.

## Methods

- [clearResponseBasedDetectedErrorType](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/responsebasedoriginerrordetectionsettingsproxy/clearresponsebaseddetectederrortype.md) -- `method` -- Clears the ResponseBasedDetectedErrorType provisioning property.
    ```typescript
  clearResponseBasedDetectedErrorType(): void
  ```
- [clearResponseBasedFailoverThresholdPercentage](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/responsebasedoriginerrordetectionsettingsproxy/clearresponsebasedfailoverthresholdpercentage.md) -- `method` -- Clears the ResponseBasedFailoverThresholdPercentage provisioning property.
    ```typescript
  clearResponseBasedFailoverThresholdPercentage(): void
  ```
