# CacheExpirationActionPropertiesProxy

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

## Definition

```typescript
interface CacheExpirationActionPropertiesProxy {
  cacheBehavior: BicepValueProxy | CacheBehaviorSetting;
  cacheDuration: BicepValueProxy | timespan;
  cacheType: BicepValueProxy | CdnCacheLevel;
  clearCacheBehavior(): void;
  clearCacheDuration(): void;
  clearCacheType(): void;
}
```

## Properties

- `cacheBehavior`: `BicepValueProxy | CacheBehaviorSetting` `get - set` -- Gets or sets the CacheBehavior provisioning property.
- `cacheDuration`: `BicepValueProxy | timespan` `get - set` -- Gets or sets the CacheDuration provisioning property.
- `cacheType`: `BicepValueProxy | CdnCacheLevel` `get - set` -- Gets or sets the CacheType provisioning property.

## Methods

- [clearCacheBehavior](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cacheexpirationactionpropertiesproxy/clearcachebehavior.md) -- `method` -- Clears the CacheBehavior provisioning property.
    ```typescript
  clearCacheBehavior(): void
  ```
- [clearCacheDuration](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cacheexpirationactionpropertiesproxy/clearcacheduration.md) -- `method` -- Clears the CacheDuration provisioning property.
    ```typescript
  clearCacheDuration(): void
  ```
- [clearCacheType](/reference/api/typescript/aspire.hosting.azure.provisioning.cdn/cacheexpirationactionpropertiesproxy/clearcachetype.md) -- `method` -- Clears the CacheType provisioning property.
    ```typescript
  clearCacheType(): void
  ```
