# ResponseBasedOriginErrorDetectionSettingsProxy

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

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